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 #971

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

wawanbreton
Copy link
Contributor

@wawanbreton wawanbreton commented Oct 7, 2024

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/Cura#19721

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 d78dc50 into 5.9 Oct 10, 2024
10 checks passed
@HellAholic HellAholic deleted the CURA-11905_fix-multi-model-reload branch October 10, 2024 08:39
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