mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Merge pull request #4073 from Ultimaker/CURA-5572_fix_gcode_reader
CURA-5572 Update the scene when a Gcode is loaded.
This commit is contained in:
commit
9856ccf700
2 changed files with 3 additions and 3 deletions
|
@ -488,7 +488,7 @@ class CuraEngineBackend(QObject, Backend):
|
|||
# we got a single scenenode
|
||||
if not source.callDecoration("isGroup"):
|
||||
mesh_data = source.getMeshData()
|
||||
if mesh_data and mesh_data.getVertices() is None:
|
||||
if mesh_data is None or mesh_data.getVertices() is None:
|
||||
return
|
||||
|
||||
# There are some SceneNodes that do not have any build plate associated, then do not add to the list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue