mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Undo logging and splitting up QVector3D. CURA-3334
This commit is contained in:
parent
0eb5e59c9f
commit
3ca9ae145e
1 changed files with 1 additions and 8 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue