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

Fix duplicated file reloading #19721

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Conversation

wawanbreton
Copy link
Contributor

Instead of using the object name for reloading meshes inside a 3MF file, use a dedicated mesh ID property that is only stored internally, doesn't have to be unique (because the combination filename+ID will be) and can't be changed by the user. This should improve 3MF file reloading, and also fixes reloading of duplicated instances, because multiple meshes can now have the same mesh ID.

CURA-11905
Comes with Ultimaker/Uranium#971

CURA-11905

Instead of using the object name for reloading meshes inside a 3MF file, use a dedicated mesh ID property that is only stored internally, doesn't have to be unique (because the combination filename+ID will be) and can't be changed by the user. This should improve 3MF file reloading, and also fixes reloading of duplicated instances, because multiple meshes can now have the same mesh ID.
@wawanbreton wawanbreton changed the base branch from main to 5.9 October 8, 2024 11:24
@HellAholic HellAholic merged commit 6f6c000 into 5.9 Oct 10, 2024
11 checks passed
@HellAholic HellAholic deleted the CURA-11905_fix-multi-model-reload branch October 10, 2024 08:57
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 this pull request may close these issues.

2 participants