mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027916: Visualization - access violation occurs within AIS_ColoredShape::Compute() for NULL shape
AIS_ColoredShape::Compute() - add NULL shape check. AIS presentations - removed redundant clearance within ::Compute() which is always done in advance within PrsMgr_PresentationManager::Update().
This commit is contained in:
@@ -123,7 +123,6 @@ void AIS_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentat
|
||||
const Handle(Prs3d_Presentation)& aPrs,
|
||||
const Standard_Integer theMode)
|
||||
{
|
||||
aPrs->Clear();
|
||||
if(myshape.IsNull()) return;
|
||||
|
||||
// wire,edge,vertex -> pas de HLR + priorite display superieure
|
||||
|
Reference in New Issue
Block a user