Remove debugging code

This commit is contained in:
Ghostkeeper 2020-06-05 15:31:37 +02:00
parent 3073d7c349
commit ac98caee54
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -1909,7 +1909,6 @@ class CuraApplication(QtApplication):
return return
selection_pass = cast(SelectionPass, self.getRenderer().getRenderPass("selection")) selection_pass = cast(SelectionPass, self.getRenderer().getRenderPass("selection"))
if not selection_pass: # If you right-click before the rendering has been initialised there might not be a selection pass yet. if not selection_pass: # If you right-click before the rendering has been initialised there might not be a selection pass yet.
print("--------------ding! Got the crash.")
return return
node = self.getController().getScene().findObject(selection_pass.getIdAtPosition(x, y)) node = self.getController().getScene().findObject(selection_pass.getIdAtPosition(x, y))
if not node: if not node: