Undo logging and splitting up QVector3D. CURA-3334

This commit is contained in:
Jack Ha 2017-02-22 14:35:51 +01:00
parent 0eb5e59c9f
commit 3ca9ae145e

View file

@ -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):