Skip to content

Conversation

@Zishan-Rahman
Copy link
Contributor

No description provided.

TODO: Get bounding box to show on specific mesh (properly get that to work)
Fixes error where bounding box was not showing
…g mesh

TODO: Figure out how to turn off bounding box when shown through showBoundingBox method
… showing its bounding box in focusCameraOnMesh
to also ensure bounding box gets hidden when no longer needed
…posite meshes in cases where camera focused on them
…hod in turnOffAllGizmos instead of manually resetting gizmos again with repeated code
@tracygardner
Copy link
Contributor

@Zishan-Rahman I took a look at this and there are a few problems:

  • The F key should only work when on the workspace so it doesn't interfere with keypresses on the canvas (we can also add a button)
  • showBoundingBox sets the visibility of focussed shapes to 0.001 making them disappear.
  • When I focus a second mesh (by clicking on a block and pressing F) the focus stays on the first mesh. It looks like window.currentBlock isn't updated.

@Zishan-Rahman
Copy link
Contributor Author

The first mesh needs to be deselected before focusing on the second mesh. Somehow we need to do that "unfocusing" from the code editor, rather than the canvas (where that's already possible).

@tracygardner tracygardner marked this pull request as draft October 24, 2025 07:34
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.

2 participants