mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 19:28:07 -06:00
Merge pull request #905 from Ultimaker/snappier_camera_animation
Make camera animation feel snappier
This commit is contained in:
commit
b0c54bb26a
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ class CameraAnimation(QVariantAnimation):
|
||||||
def __init__(self, parent = None):
|
def __init__(self, parent = None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self._camera_tool = None
|
self._camera_tool = None
|
||||||
self.setDuration(500)
|
self.setDuration(300)
|
||||||
self.setEasingCurve(QEasingCurve.InOutQuad)
|
self.setEasingCurve(QEasingCurve.OutQuad)
|
||||||
|
|
||||||
def setCameraTool(self, camera_tool):
|
def setCameraTool(self, camera_tool):
|
||||||
self._camera_tool = camera_tool
|
self._camera_tool = camera_tool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue