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:
@@ -98,7 +98,7 @@ void GeoFeatureGroup::removeObjectFromDocument(DocumentObject* obj)
|
||||
}
|
||||
}
|
||||
|
||||
this->getDocument()->remObject(obj->getNameInDocument());
|
||||
this->getDocument()->remObject(obj->getNameInDocument(), true);
|
||||
}
|
||||
|
||||
DocumentObject *GeoFeatureGroup::getObject(const char *Name) const
|
||||
|
||||
Reference in New Issue
Block a user