if (aResGroup.get()) {
FeaturePtr aFeature = ModelAPI_Feature::feature(aResGroup);
if (aFeature.get()) {
- AttributeSelectionListPtr aSelectionListAttr = aFeature->data()->selectionList("group_list");
+ AttributeSelectionListPtr aSelectionListAttr =
+ aFeature->data()->selectionList("group_list");
std::string aType = aSelectionListAttr->selectionType();
if (aType != "Faces")
continue;
emit closed();
}
-//********************************************************************
-bool XGUI_FacesPanel::customizeObject(const ObjectPtr& theObject,
- const AISObjectPtr& thePresentation)
-{
- return myItems.size() > 0;
-}
-
//********************************************************************
void XGUI_FacesPanel::onDeleteItem()
{