-
-
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
Import Hints are no Longer Processed if the Object Name ends with a Number #78881
Comments
I can confirm this on 4.1.dev1-4.1.rc1 and 4.1.rc 4642448 using https://github.com/godotengine/tps-demo. This does not occur on 4.0.3.stable. |
As pointed out in the OP, this commit made it so that So the logic here needs to be changed to take this into account: godot/editor/import/resource_importer_scene.cpp Lines 313 to 353 in cdd2313
@godotengine/import |
I'm not able to rush fix this for a RC build. How to proceed? |
I think this will have to be a known issue in 4.1 and we'll fix it in 4.1.1. |
Godot version
4.1 rc2
System information
Manjaro GL-Compatibility
Issue description
When using import hints, such as -col or -colonly, on object names Godot used to accept the hint even if it was followed by Blender's auto duplicate naming scheme such as .001 or .002. This is no longer the case, items name to the likes of "object-col.001" will not import with collision.
I noticed that, prior to 4.1, Godot would remove periods from imported object names. Object.001 would import as Object001, but now it would import as Object_001. Perhaps this change broke the import hint behavior.
Steps to reproduce
Export a scene with object names using import hints, such as -col or -convcol, where some of the objects have '.001' or similar appended to the end of their names. Import the scene into Godot and create an inherited scene.
Minimal reproduction project
ImportHints.zip
The text was updated successfully, but these errors were encountered: