D6: Fixed file naming, removed spaces and fixed decoration calls

This commit is contained in:
Victor Larchenko 2016-12-19 10:10:51 +06:00 committed by Youness Alaoui
parent 9e85d6c894
commit 485e81731f
4 changed files with 12 additions and 12 deletions

View file

@ -315,8 +315,6 @@ class CuraEngineBackend(Backend):
if source is self._scene.getRoot():
return
application = Application.getInstance()
should_pause = False
for node in DepthFirstIterator(self._scene.getRoot()):
if node.callDecoration("isBlockSlicing"):
@ -325,15 +323,10 @@ class CuraEngineBackend(Backend):
if gcode_list is not None:
self._scene.gcode_list = gcode_list
print_information = application.getPrintInformation()
if should_pause:
self.pauseSlicing()
if print_information:
print_information.setPreSliced(True)
else:
self.continueSlicing()
if print_information:
print_information.setPreSliced(False)
if source.getMeshData() is None:
return