PartSet_Module* aModule = dynamic_cast<PartSet_Module*>(myWorkshop->module());
XGUI_Workshop* aWorkshop = workshop();
aRedisplayed = aWorkshop->displayer()->displayAIS(myPresentations[theFlag],
- false/*load object in selection*/, false);
+ false/*load object in selection*/, 0, false);
aContext->SetZLayer(anOperationPrs, aModule->getVisualLayerId());
isModified = true;
}
else
myPresentations[aPrs->object()] = aList;
foreach(AISObjectPtr anAIS, aList) {
- aDisplayer->displayAIS(anAIS, false);
+ aDisplayer->displayAIS(anAIS, false, 0, false);
aWorkshop->selectionActivate()->activateAIS(anAIS->impl<Handle(AIS_InteractiveObject)>(),
TopAbs_VERTEX, false);
}
myXYPlane = createPreviewPlane(anOrigin, aXYDir, aB);
}
XGUI_Displayer* aDisp = XGUI_Tools::workshop(theWorkshop)->displayer();
- aDisp->displayAIS(myYZPlane, true, false);
- aDisp->displayAIS(myXZPlane, true, false);
- aDisp->displayAIS(myXYPlane, true, false);
+ aDisp->displayAIS(myYZPlane, true, 0, false);
+ aDisp->displayAIS(myXZPlane, true, 0, false);
+ aDisp->displayAIS(myXYPlane, true, 0, false);
myPreviewDisplayed = true;
}