mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030124: Visualization, AIS_InteractiveObject - clean up confusing Presentation invalidation logic
Removed excess mechanism for invalidating presentations AIS_InteractiveObject::myRecomputeEveryPrs. PrsMgr_PresentableObject::Update() has been deprecated and replaced by PrsMgr_PresentableObject::UpdatePresentations() recomputing only explicitly invalidated presentations.
This commit is contained in:
@@ -180,7 +180,8 @@ void XCAFPrs_AISObject::DispatchStyles (const Standard_Boolean theToSyncStyles)
|
||||
aShapeCur = aComp;
|
||||
}
|
||||
|
||||
Handle(AIS_ColoredDrawer) aDrawer = CustomAspects (aShapeCur);
|
||||
Handle(AIS_ColoredDrawer) aDrawer = new AIS_ColoredDrawer (myDrawer);
|
||||
myShapeColors.Bind (aShapeCur, aDrawer);
|
||||
const XCAFPrs_Style& aStyle = aStyleGroupIter.Key();
|
||||
aDrawer->SetHidden (!aStyle.IsVisible());
|
||||
|
||||
|
Reference in New Issue
Block a user