Measure: Prevent user to remove core properties

This commit is contained in:
Florian Foinant-Willig
2025-03-16 22:47:11 +01:00
committed by Kacper Donat
parent 6555bdc83c
commit 8a733f450b

View File

@@ -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