-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Can't reset root node type to Node3D in advanced import settings #78140
Comments
Might have found the cause of this, will try investigate when I have the time, it checks for the root type and doesn't do anything if it is |
Yeah, i guess you found this: godot/editor/import/resource_importer_scene.cpp Lines 2430 to 2439 in 7b1387f
Not sure why Node3D is excluded here. I removed the check but it didn't seem to do anything. Didn't dig too deep into this though, so feel free to investigate further :) |
I've found something interesting. godot/editor/import/scene_import_settings.cpp Lines 927 to 930 in c3b0a92
When any node, apart from However, for some reason, when we select |
The workaround is to use the "non-advanced" import settings, the 🐛 seems to be somewhere in the flawed logic of the new one ... |
I've found the problem and made a pull-request 😌 It turned out that it affected literally any import setting, not only Although it was tricky to find it, the fix for it is just one line. |
This commit fixes godotengine#78140 When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect. The problem was that when handling the reimport, a wrong dictionary of the settings was used.
This commit fixes godotengine#78140 When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect. The problem was that when handling the reimport, a wrong dictionary of the settings was used.
This commit fixes godotengine#78140 When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect. The problem was that when handling the reimport, a wrong dictionary of the settings was used.
I have run into this issue while Reimporting gltf models after changing the root node type from Node3D to RigidBody3D. I can no longer change back to Node3D. The changes don't stick on re-import. This would be on 4.1.2 |
This commit fixes godotengine#78140 When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect. The problem was that when handling the reimport, a wrong dictionary of the settings was used. (cherry picked from commit 8b729e5)
Godot version
4.0.3 and latest 4.1 (2d6b880)
System information
Manjaro Linux
Issue description
When you change the root type of an imported scene (in my case it's a glb file) you can't change it back to a Node3D. Changing it to any other 3D node works though.
Steps to reproduce
Minimal reproduction project
RootTypeBug.zip
The text was updated successfully, but these errors were encountered: