Skip to content

Commit

Permalink
Merge pull request #19721 from Ultimaker/CURA-11905_fix-multi-model-r…
Browse files Browse the repository at this point in the history
…eload

Fix duplicated file reloading
  • Loading branch information
HellAholic authored Oct 10, 2024
2 parents 22b351e + d65d2d7 commit 6f6c000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/3MFReader/ThreeMFReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def _convertSavitarNodeToUMNode(savitar_node: Savitar.SceneNode, file_name: str
vertices = numpy.resize(data, (int(data.size / 3), 3))
mesh_builder.setVertices(vertices)
mesh_builder.calculateNormals(fast=True)
mesh_builder.setMeshId(node_id)
if file_name:
# The filename is used to give the user the option to reload the file if it is changed on disk
# It is only set for the root node of the 3mf file
Expand Down

0 comments on commit 6f6c000

Please sign in to comment.