If the operation, e.g. Group/Export has no preview for the feature, or feature is hidden, the customize does not happen, and the obsolete operation prs stayed in the viewer.
aWorkshop->displayer()->displayAIS(myOperationPrs, false/*load object in selection*/, true);
aContext->SetZLayer(anOperationPrs, aModule->getVisualLayerId());
}
- else
+ else {
anOperationPrs->Redisplay();
+ workshop()->displayer()->updateViewer();
+ }
}
void PartSet_CustomPrs::erasePresentation()
}
bool isCustomized = aCustomPrs.get() &&
aCustomPrs->customisePresentation(aResult, anAISObj, myCustomPrs);
- myWorkshop->module()->customizeObject(theObject);
return isCustomized;
}
break;
}
}
+ myWorkshop->module()->customizeObject(aCurrentFeature);
}
}
anOperationMgr->onValidateOperation();
+
//if (myObjectBrowser)
// myObjectBrowser->processEvent(theMsg);
}