Measure: Prevent user to remove core properties
This commit is contained in:
committed by
Kacper Donat
parent
6555bdc83c
commit
8a733f450b
@@ -58,12 +58,14 @@ class MeasureCOM(MeasureBasePython):
|
||||
"Element",
|
||||
"",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Element to measure"),
|
||||
locked=True,
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyPosition",
|
||||
"Result",
|
||||
"",
|
||||
QT_TRANSLATE_NOOP("App::PropertyVector", "The result location"),
|
||||
locked=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user