Using PropertyVectorDistance

per yorik: https://forum.freecadweb.org/viewtopic.php?f=3&t=29787#p244785
This commit is contained in:
sliptonic
2018-07-16 19:33:49 -05:00
committed by Yorik van Havre
parent c93ff200ca
commit 024ce84da3
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class ObjectOp(object):
obj.addProperty("App::PropertyDistance", "SafeHeight", "Depth", QtCore.QT_TRANSLATE_NOOP("PathOp", "Rapid Safety Height between locations."))
if FeatureStartPoint & features:
obj.addProperty("App::PropertyVector", "StartPoint", "Start Point", QtCore.QT_TRANSLATE_NOOP("PathOp", "The start point of this path"))
obj.addProperty("App::PropertyVectorDistance", "StartPoint", "Start Point", QtCore.QT_TRANSLATE_NOOP("PathOp", "The start point of this path"))
obj.addProperty("App::PropertyBool", "UseStartPoint", "Start Point", QtCore.QT_TRANSLATE_NOOP("PathOp", "make True, if specifying a Start Point"))
self.initOperation(obj)