mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 13:49:39 +08:00
Remove debugging code
This commit is contained in:
parent
3073d7c349
commit
ac98caee54
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user