Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <j.ha@ultimaker.com>2017-02-22 16:35:51 +0300
committerJack Ha <j.ha@ultimaker.com>2017-02-22 16:35:51 +0300
commit3ca9ae145e70a3339028d9de55544da739a86899 (patch)
tree05d13d960d28586fce5e5fb83c82316eaf3b36d0 /cura/CameraAnimation.py
parent0eb5e59c9f1083c0e0fcfa9ea9cbeaf0e0e1487d (diff)
Undo logging and splitting up QVector3D. CURA-3334
Diffstat (limited to 'cura/CameraAnimation.py')
-rw-r--r--cura/CameraAnimation.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/cura/CameraAnimation.py b/cura/CameraAnimation.py
index 423237135d..3202f303d8 100644
--- a/cura/CameraAnimation.py
+++ b/cura/CameraAnimation.py
@@ -20,16 +20,9 @@ class CameraAnimation(QVariantAnimation):
self._camera_tool = camera_tool
def setStart(self, start):
- Logger.log("d", "Camera start: %s %s %s" % (start.x, start.y, start.z))
- vec = QVector3D() #QVector3D(start.x, start.y, start.z)
- vec.setX(start.x)
- vec.setY(start.y)
- vec.setZ(start.z)
- Logger.log("d", "setStartValue...")
- self.setStartValue(vec)
+ self.setStartValue(QVector3D(start.x, start.y, start.z))
def setTarget(self, target):
- Logger.log("d", "Camera end: %s %s %s" % (target.x, target.y, target.z))
self.setEndValue(QVector3D(target.x, target.y, target.z))
def updateCurrentValue(self, value):