Extensions: Introduce classes and port App groups
This commit is contained in:
@@ -238,8 +238,8 @@ bool isPartDesignAwareObjecta (App::DocumentObject *obj, bool respectGroups = fa
|
||||
PartDesign::Body::isAllowed ( obj ) ||
|
||||
obj->isDerivedFrom ( PartDesign::Body::getClassTypeId () ) ||
|
||||
( respectGroups && (
|
||||
obj->isDerivedFrom (App::GeoFeatureGroup::getClassTypeId () ) ||
|
||||
obj->isDerivedFrom (App::DocumentObjectGroup::getClassTypeId () )
|
||||
obj->hasExtension (App::GeoFeatureGroupExtension::getClassTypeId () ) ||
|
||||
obj->hasExtension (App::GroupExtension::getClassTypeId () )
|
||||
) ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user