Draft: Fixed units mismatch when moving Draft_Point objects.

This commit is contained in:
Roy-043
2021-06-29 14:38:56 +02:00
committed by Bernd Hahnebach
parent 638976c409
commit f47c33bd65

View File

@@ -83,9 +83,9 @@ def move(objectslist, vector, copy=False):
newobj = make_copy.make_copy(obj)
else:
newobj = obj
newobj.X = obj.X + real_vector.x
newobj.Y = obj.Y + real_vector.y
newobj.Z = obj.Z + real_vector.z
newobj.X = float(obj.X) + real_vector.x
newobj.Y = float(obj.Y) + real_vector.y
newobj.Z = float(obj.Z) + real_vector.z
elif obj.isDerivedFrom("App::DocumentObjectGroup"):
pass