mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +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:
@@ -86,8 +86,6 @@ void AIS_PerpendicularRelation::Compute(const Handle(PrsMgr_PresentationManager3
|
||||
const Handle(Prs3d_Presentation)& aPresentation,
|
||||
const Standard_Integer)
|
||||
{
|
||||
aPresentation->Clear();
|
||||
|
||||
if (myFShape.ShapeType() == mySShape.ShapeType()) {
|
||||
switch (myFShape.ShapeType()) {
|
||||
case TopAbs_FACE :
|
||||
|
Reference in New Issue
Block a user