Skip to content

fix: hide transform controls on invisible entities (#718)#719

Merged
micheal-parks merged 1 commit into
mainfrom
claude/hide-transform-controls-invisible
May 27, 2026
Merged

fix: hide transform controls on invisible entities (#718)#719
micheal-parks merged 1 commit into
mainfrom
claude/hide-transform-controls-invisible

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude Bot commented May 27, 2026

Summary

https://viam.atlassian.net/browse/APP-16641

  • Hide TransformControls when the selected entity has the InheritedInvisible trait, preventing the transform gizmo from appearing on hidden entities
  • Uses InheritedInvisible (not just Invisible) so controls are also hidden when a parent entity is invisible, matching the pattern used by all rendering components (Frame, Geometry, Points, etc.)

Closes #718

DRI

@mattmacf98 is the responsible engineer for this PR.

Test plan

  • Select an entity, verify transform controls appear
  • Toggle entity visibility off (eye icon in tree view), verify transform controls disappear
  • Toggle a parent entity invisible, verify child entity's transform controls also disappear
  • Toggle visibility back on, verify transform controls reappear

🤖 Generated with Claude Code

demo-transforms-hidden-when.invisible.mov

Check InheritedInvisible trait on the selected entity before rendering
TransformControls, so hidden entities don't show the transform gizmo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 27, 2026

🦋 Changeset detected

Latest commit: b950c94

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@viamrobotics/motion-tools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-27 20:43 UTC

@mattmacf98 mattmacf98 self-assigned this May 27, 2026
@micheal-parks micheal-parks merged commit c81c67c into main May 27, 2026
8 checks passed
@micheal-parks micheal-parks deleted the claude/hide-transform-controls-invisible branch May 27, 2026 20:42
@claude claude Bot mentioned this pull request May 27, 2026
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.

don't show transform control on hidden entities

2 participants