-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Re-import glb model doesn't change the old glb model #90241
Comments
Hello from the maintainer team! First of all, thank you for taking the time to report an issue here. In case you haven't already, be sure to attach an MRP (minimal reproduction project) if specific steps or assets are needed in order to reproduce the issue. Contributors will use the MRP to validate that the fix is working as intended. The time it will take to assess and fix your issue may vary. Follow the blog about our new releases and pre-releases to track new fixes or go to our forum where users could help you in the meantime. Thank you for your patience. |
Following the instructions exactly:
After editing
Even if reimport is clicked, there's no way Godot can know about the exported file if it's not drag dropped over the existing one? |
I use 4.3-dev5, and I'm also having this problem consistently when reimporting .gltf files. This happens whether the node is from the .gltf file itself, or from an Inherited Scene. This makes that every time I reimport something, I have to delete the old instance and create a new one, or check every single 'undo' icon in the Inherited Scene, to update manually the changes made in the re-import. I've only tested it with .gltf, I don't use .glb or .blend. Also, this seems related to #90659 |
Did you mean to link another issue number? |
ooops, now the link is correct |
It actually changes, but it automatically overwrites the changed properties to keep the scene as it was when it was opened. It might be better to add these automatically overwritten changes to undo/redo. If you don't want this behavior, you can close the scene tab when importing. Or click the revert icon of the related node properties. |
I initially thought that this is a duplicate of my issue #90659. In #90659 I mentioned that modifying geometry in such a way that it would change its dimensions or adding/removing objects forces the whole imported scene to update. However recently I'm often facing a problem where that workaround doesn't work. Not even clicking "Reimport" works. Which is what this issue is describing. I have to do this for a mesh to get updated:
|
Just found out that instead of deleting and creating a new instance pressing "Scene -> Reload Saved Scene" works too. So the problem is that the host scene doesn't get updated when a gltf inside of it gets reimported That is only the case when editable children is disabled though, if editable children are enabled then indeed you need to press every revert icon near every transform and subresource like meshes because for some reason godot overwrites those in inherited scenes or when editable children is used, dumping all of that data into the host scene. Isn't the point of scene inheritance to be able to add/modify data selectively? |
that's really good to know, thanks! I wish this got fixed tho, its quite annoying |
Can you check if #92279 fixes or doesn't fix this issue? |
It doesn't fix this issue, I was using only the master branch for the past month |
Tested versions
Bug found in 4.2.1 (Forward+)
System information
Windows 11
Issue description
I imported some 3d models in the editor with drag and drop in a folder and then put in a scene, after that i modified (change origin of the 3d model) and re-exported from blender as glb with the same name (overwriting) and re-imported them (using the re-import command in Godot to refresh the glb file) no changes at all neither in the scene nor in the re-importef model
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: