NMSDK
NMSDK copied to clipboard
[BUG]Importing multiple scenes in one session sets the export folder path to the one of the last imported scene
Describe the bug When importing a scene after another scene that's imported beforehand, the export folder path when checking "Preserve Node Info" becomes the one from the last imported scene, and not of the one being exported (top scene).
Name value under TkSceneNodeData and GEOMETRY path also changes in the mbin/exml, causing possible instability since the geometry path now links to nothing.
To Reproduce
- Import a scene
- Import another scene from another folder
- Make the second scene a child of the first
- Export with "Preserve Node Info" checked
Screenshots
- Exporting in Blender
- Different Name and Geometry path in exml after exporting (Left: vanilla; Right: exported via NMSDK)
Additional context We can still set the path manually after checking Preserve Node Info so it can be remedied in NMSDK as of now