Fix copying MIME type if scene nodes are copied

We're not doing this in the nicest way possible...

Contributes to issue CURA-8232.
This commit is contained in:
Ghostkeeper 2021-05-18 11:07:02 +02:00
parent 77b7a29fca
commit d4fa1cee45
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 2 additions and 0 deletions

View file

@ -1867,6 +1867,7 @@ class CuraApplication(QtApplication):
else:
node = CuraSceneNode()
node.setMeshData(original_node.getMeshData())
node.source_mime_type = original_node.source_mime_type
# Setting meshdata does not apply scaling.
if original_node.getScale() != Vector(1.0, 1.0, 1.0):