// Clear selection mode and define sketching mode
XGUI_Displayer* aDisp = myWorkshop->displayer();
- aDisp->removeSelectionFilter(myPlaneFilter);
+ aDisp->removeSelectionFilter(myFaceFilter);
aDisp->closeLocalContexts();
emit planeSelected(plane());
setSketchingMode();
XGUI_Displayer* aDisp = myWorkshop->displayer();
aDisp->openLocalContext();
aDisp->activateObjects(QIntList());
- if (myPlaneFilter.IsNull())
- myPlaneFilter = new StdSelect_FaceFilter(StdSelect_Plane);
- aDisp->addSelectionFilter(myPlaneFilter);
+ if (myFaceFilter.IsNull())
+ myFaceFilter = new StdSelect_FaceFilter(StdSelect_Plane);
+ aDisp->addSelectionFilter(myFaceFilter);
QIntList aModes;
aModes << TopAbs_FACE;
aDisp->activateObjects(aModes);
{
XGUI_Displayer* aDisp = myWorkshop->displayer();
- aDisp->removeSelectionFilter(myPlaneFilter);
+ aDisp->removeSelectionFilter(myFaceFilter);
//aDisp->removeSelectionFilter(mySketchFilter);
aDisp->closeLocalContexts();
erasePreviewPlanes();