mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:26:05 +08:00
Possible fix for CURA-3334
This commit is contained in:
parent
e32c67ccd3
commit
c785256ac4
@ -700,7 +700,7 @@ class CuraApplication(QtApplication):
|
||||
self.getController().setActiveTool(None)
|
||||
|
||||
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._camera_animation.setStart(self.getController().getTool("CameraTool").getOrigin())
|
||||
self._camera_animation.setTarget(Selection.getSelectedObject(0).getWorldPosition())
|
||||
|
Loading…
x
Reference in New Issue
Block a user