8000 standardize gizmo creation in the engine by SYBIOTE · Pull Request #1961 · ir-engine/ir-engine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

standardize gizmo creation in the engine #1961

New issue 8000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 47 commits into
base: dev
Choose a base branch
from

Conversation

SYBIOTE
Copy link
Contributor
@SYBIOTE SYBIOTE commented May 24, 2025

remove activeHelperCommponent

provide each helper its own reactor

manage helpers via reactor injection system

hope the video helps review efforts

Screen.Recording.2025-06-04.092553.mp4

SYBIOTE added 2 commits May 24, 2025 09:22
- Moved `useHelperEntity` from `@ir-engine/spatial/src/common/debug/useHelperEntity` to `@ir-engine/spatial/src/helper/functions/useHelperEntity`.
- Updated imports in various components to reflect the new location of `useHelperEntity`.
- Removed the old `useHelperEntity` file and its associated code.
- Introduced new helper components for directional, hemisphere, point, spawn, and spot lights, including their respective reactor functions and registry entries.
- Simplified the `BoundingBoxComponent` by removing unnecessary dependencies on helper visibility states.
- Added `ActiveHelperRegisterSystem` to populate the helper registry with icons and components for various light types.
@SYBIOTE SYBIOTE changed the title Add CPAL-1.0 License header to HelperRegistry.ts standardize gizmo creation in the engine May 24, 2025
SYBIOTE added 16 commits May 30, 2025 12:38
…patial-and-editor-package' of https://github.com/ir-engine/ir-engine into IR-10220-standardize-helper-and-gizmo-creation-across-spatial-and-editor-package
…Component references. Update ComponentHelperState and related reactors to streamline functionality and enhance performance.
…Component based on its presence. Remove debug log for cleaner output.
…ure BoundingBoxComponent is set or updated based on selection and hover states.
…rove entity existence checks in ActiveHelperReactor.
…treamline input handling; add BOUNDING_BOX_COLORS for consistent color management in BoundingBoxComponent.
…ic and streamline input handling; add BOUNDING_BOX_COLORS for consistent color management in BoundingBoxComponent."

This reverts commit 594c974.
…lity logic and streamline input handling; add BOUNDING_BOX_COLORS for consistent color management in BoundingBoxComponent.""

This reverts commit 91e8586.
@SYBIOTE SYBIOTE self-assigned this Jun 4, 2025
@SYBIOTE SYBIOTE marked this pull request as ready for review June 4, 2025 00:45
SYBIOTE added 4 commits June 4, 2025 07:03
… management; integrate BOUNDING_BOX_COLORS for hover effects
…, refactor ActiveHelperReactor for priority handling, and introduce HelperComponent for better entity management.
@SamMazerIR
Copy link
Contributor

some errors to fix

Copy link
Contributor
@DanielBelmes DanielBelmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Icons are growing based off their distance from origin
  • Selecting icons do not select the item they are connected to

…oved type safety; update studioIconGizmoHelper to enhance icon scaling logic
@SYBIOTE SYBIOTE requested a review from DanielBelmes June 5, 2025 19:11
@SYBIOTE
Copy link
Contributor Author
SYBIOTE commented Jun 5, 2025

@DanielBelmes , fixed it

@SamMazerIR SamMazerIR dismissed stale reviews from HexaField and DanielBelmes June 6, 2025 19:12

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0