mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Possible fix for CURA-3334
This commit is contained in:
parent
e32c67ccd3
commit
c785256ac4
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ class CuraApplication(QtApplication):
|
||||||
self.getController().setActiveTool(None)
|
self.getController().setActiveTool(None)
|
||||||
|
|
||||||
def _onToolOperationStopped(self, event):
|
def _onToolOperationStopped(self, event):
|
||||||
if self._center_after_select:
|
if self._center_after_select and Selection.getSelectedObject(0) is not None:
|
||||||
self._center_after_select = False
|
self._center_after_select = False
|
||||||
self._camera_animation.setStart(self.getController().getTool("CameraTool").getOrigin())
|
self._camera_animation.setStart(self.getController().getTool("CameraTool").getOrigin())
|
||||||
self._camera_animation.setTarget(Selection.getSelectedObject(0).getWorldPosition())
|
self._camera_animation.setTarget(Selection.getSelectedObject(0).getWorldPosition())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue