ModuleBase_Operation* aOperation = myWorkshop->currentOperation();
if (aOperation) {
ModuleBase_IPropertyPanel* aPanel = aOperation->propertyPanel();
- anActiveWidget = aPanel->activeWidget();
+ anActiveWidget = aPanel ? aPanel->activeWidget() : 0;
}
}
return anActiveWidget;
aDisplayer->updateViewer();
}
+bool PartSet_Module::isCustomPrsActivated(const ModuleBase_CustomizeFlag& theFlag) const
+{
+ return myCustomPrs->isActive(theFlag);
+}
+
void PartSet_Module::activateCustomPrs(const FeaturePtr& theFeature, const ModuleBase_CustomizeFlag& theFlag,
const bool theUpdateViewer)
{