Browse Source

Skip nodes in modelchecker without active extruder

Fixes CURA-5S
Jaime van Kessel 5 years ago
parent
commit
68d70734ee
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/ModelChecker/ModelChecker.py

+ 2 - 0
plugins/ModelChecker/ModelChecker.py

@@ -73,6 +73,8 @@ class ModelChecker(QObject, Extension):
         # Check node material shrinkage and bounding box size
         for node in self.sliceableNodes():
             node_extruder_position = node.callDecoration("getActiveExtruderPosition")
+            if node_extruder_position is None:
+                continue
 
             # This function can be triggered in the middle of a machine change, so do not proceed if the machine change
             # has not done yet.