Merge pull request #25374 from tarman3/engrave_baseobject
CAM: Engrave - Remove useless property BaseObject
This commit is contained in:
@@ -70,14 +70,6 @@ class ObjectEngrave(PathEngraveBase.ObjectOp):
|
||||
QT_TRANSLATE_NOOP("App::Property", "Additional base objects to be engraved"),
|
||||
)
|
||||
obj.setEditorMode("BaseShapes", 2) # hide
|
||||
if not hasattr(obj, "BaseObject"):
|
||||
obj.addProperty(
|
||||
"App::PropertyLink",
|
||||
"BaseObject",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Additional base objects to be engraved"),
|
||||
)
|
||||
obj.setEditorMode("BaseObject", 2) # hide
|
||||
|
||||
def initOperation(self, obj):
|
||||
"""initOperation(obj) ... create engraving specific properties."""
|
||||
|
||||
Reference in New Issue
Block a user