part deletion handling
-remove everxthing that belongs to a part on deletion -disallow to delete the origin by the user and only remove it when Part is being deleted
This commit is contained in:
@@ -42,7 +42,10 @@ PROPERTY_SOURCE(App::Plane, App::GeoFeature)
|
||||
Plane::Plane(void)
|
||||
{
|
||||
ADD_PROPERTY(PlaneType,(""));
|
||||
//placement can't be changed
|
||||
Placement.StatusBits.set(3, true);
|
||||
//plane can not be deleted by user
|
||||
StatusBits.set(ObjectStatus::Undeletable, true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user