thePresentation->Clear();
bool aReadyToDisplay = !myShapeToPrsMap.IsEmpty();
- XGUI_Displayer* aDisplayer = XGUI_Tools::workshop(myWorkshop)->displayer();
Handle(Prs3d_Drawer) aDrawer = Attributes();
// create presentations on the base of the shapes
BRep_Builder aBuilder;
int aWidth = anIO->Width();
/// workaround for zero width. Else, there will be a crash
if (aWidth == 0) { // width returns of TSolid shape is zero
- bool isDisplayed = !anIO->GetContext().IsNull();
aWidth = PartSet_Tools::getAISDefaultWidth();// default width value
}
setWidth(aDrawer, aWidth);
GeomShapePtr theGeomShape,
QMap<ObjectPtr, QList<GeomShapePtr> >& theObjectShapes)
{
- XGUI_Displayer* aDisplayer = XGUI_Tools::workshop(theWorkshop)->displayer();
- // VSV: Do not use isVisible checking because it can be used when state "Show Only" is ON
+ //XGUI_Displayer* aDisplayer = XGUI_Tools::workshop(theWorkshop)->displayer();
+ //// VSV: Do not use isVisible checking because it can be used when state "Show Only" is ON
//if (XGUI_Displayer::isVisible(aDisplayer, theObject)) {
if (theGeomShape.get()) {
if (theObjectShapes.contains(theObject))
if (!theFeature.get())
return;
- XGUI_Displayer* aDisplayer = XGUI_Tools::workshop(theWorkshop)->displayer();
-
std::list<ResultPtr> aResults;
ModelAPI_Tools::allResults(theFeature, aResults);
std::list<ResultPtr>::const_iterator aRIt = aResults.begin(),