D6: Fixed gcode loading to scene while undo/redo

This commit is contained in:
Victor Larchenko 2016-12-12 12:45:46 +06:00 committed by Youness Alaoui
parent fecf23d66d
commit 90f7cebbbb
4 changed files with 24 additions and 4 deletions

View file

@ -598,6 +598,9 @@ class CuraApplication(QtApplication):
continue
if node.callDecoration("shouldBlockSlicing"):
should_pause = True
gcode_list = node.callDecoration("gCodeList")
if gcode_list is not None:
self.getController().getScene().gcode_list = gcode_list
count += 1
if not scene_bounding_box: