Assembly: prevent user to remove core properties
This commit is contained in:
committed by
Kacper Donat
parent
700c9a8a38
commit
d5e2fdf8fd
@@ -252,6 +252,7 @@ class ExplodedViewStep:
|
||||
"References",
|
||||
"Exploded Move",
|
||||
QT_TRANSLATE_NOOP("App::Property", "The objects moved by the move"),
|
||||
locked=True,
|
||||
)
|
||||
|
||||
if not hasattr(evStep, "MovementTransform"):
|
||||
@@ -263,6 +264,7 @@ class ExplodedViewStep:
|
||||
"App::Property",
|
||||
"This is the movement of the move. The end placement is the result of the start placement * this placement.",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
|
||||
if not hasattr(evStep, "MoveType"):
|
||||
@@ -271,6 +273,7 @@ class ExplodedViewStep:
|
||||
"MoveType",
|
||||
"Exploded Move",
|
||||
QT_TRANSLATE_NOOP("App::Property", "The type of the move"),
|
||||
locked=True,
|
||||
)
|
||||
|
||||
def migrationScript(self, evStep):
|
||||
@@ -286,6 +289,7 @@ class ExplodedViewStep:
|
||||
"References",
|
||||
"Exploded Move",
|
||||
QT_TRANSLATE_NOOP("App::Property", "The objects moved by the move"),
|
||||
locked=True,
|
||||
)
|
||||
|
||||
rootObj = None
|
||||
|
||||
Reference in New Issue
Block a user