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: name of object or its material in the scene graph tree does not refresh after changing name in sidebar #28290

Closed
zoeeer opened this issue May 6, 2024 · 1 comment · Fixed by #28270
Milestone

Comments

@zoeeer
Copy link
Contributor

zoeeer commented May 6, 2024

Description

After changing the name of an object or its material in the side bar, the name in the scene graph tree does not refresh immediately. It only refreshes after certain other operation is made, e.g. adding an new object to the scene.

For comparison, the name of an geometry DOES refresh immediately after changing it in the sidebar.

Reproduction steps

  1. add any object (e.g. a box) to the scene
  2. in the sidebar, click the "object" tab and change the name of the object, then hit Enter. Observe the Scene window, the object's name is not updated
  3. add another object to the scene. Observe the Scene window, the previous object's name is now updated
  4. in the sidebar, click the "geometry" tab and change the name of the geometry of the selected object, then hit Enter. Observe the Scene window, the geometry's name associated with the object is updated
  5. changing name of material doesn't immediately update in the Scene window either

Code

none

Live example

none

Screenshots

image

Version

r164

Device

Desktop

Browser

Chrome

OS

Windows

@ycw
Copy link
Contributor

ycw commented May 6, 2024

#28270 will solve it;

for testing, https://raw.githack.com/ycw/three.js/tmp-rename/editor/index.html

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 a pull request may close this issue.

3 participants