{
myHilightPrs = new Prs3d_Presentation (theMgr->StructureManager());
myHilightPrs->SetTransformPersistence (TransformPersistence());
+ myHilightPrs->SetClipPlanes (myClipPlanes);
}
return myHilightPrs;
{
mySelectionPrs = new Prs3d_Presentation (theMgr->StructureManager());
mySelectionPrs->SetTransformPersistence (TransformPersistence());
+ mySelectionPrs->SetClipPlanes (myClipPlanes);
}
return mySelectionPrs;
}
}
+//=======================================================================
+//function : UpdateClipping
+//purpose :
+//=======================================================================
+void SelectMgr_SelectableObject::UpdateClipping()
+{
+ PrsMgr_PresentableObject::UpdateClipping();
+ if (!mySelectionPrs.IsNull())
+ {
+ mySelectionPrs->SetClipPlanes (myClipPlanes);
+ }
+ if (!myHilightPrs.IsNull())
+ {
+ myHilightPrs->SetClipPlanes (myClipPlanes);
+ }
+}
+
//=======================================================================
//function : updateSelection
//purpose : Sets update status FULL to selections of the object. Must be