Skip to content
New issue

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

Editor: Added appearance submenu #28421

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

ycw
Copy link
Contributor

@ycw ycw commented May 18, 2024

The PR moves helpers toggling from viewport to View>Appearance>, and users can now toggle helpers by type:

keep.depth.perception.mp4

It's practical:

  • "SkeletonHelper is always shown infront of everything" is of WONT FIX, meaning that SkeletonHelpers will be always shown even behind walls for example. This PR fixed 'depth perception lost' by offering an option to toggle all SkeletionHelper.

  • CameraHelpers should be shown only if needed; There can be many cameras on scene(an example is models/collada/pump/pump.dae), in this case showing all CameraHelpers will hurt editing experience, in particular the CameraHelpers overlapped with the object that users are transforming. This PR fixed that by offering an option to toggle CameraHelpers seperately.

Unlike SkeletonHelper, bounding box and transform gizmo are needed to be always shown infront, because that is their sole purpose: spotting the selected object's location and size on the scene, because of that, they aren't included in View>Appearance> submenu.

The togglers(Grid, Helpers) are moved from viewport into menu bar View>Appearance>, s.t. from now on, users will be taught that it's the single place to show/hide things, currently only on-scene helpers; In the future, the submenu will be included overlays e.g. 'viewport info', and UI items, e.g. 'sidebar'.

Thanks.

@ycw
Copy link
Contributor Author

ycw commented May 18, 2024

@mrdoob mrdoob added this to the r165 milestone May 21, 2024
@mrdoob mrdoob merged commit c985826 into mrdoob:dev May 21, 2024
11 checks passed
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.

None yet

2 participants