mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 08:45:12 +08:00
Merge pull request #19721 from Ultimaker/CURA-11905_fix-multi-model-reload
Fix duplicated file reloading
This commit is contained in:
commit
6f6c000755
@ -132,6 +132,7 @@ class ThreeMFReader(MeshReader):
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user