From 0483cfa3b7f8fb6bcf4914d1722217f7a7078498 Mon Sep 17 00:00:00 2001 From: san Date: Thu, 13 Apr 2006 15:39:23 +0000 Subject: [PATCH] PAL12113 --- src/OBJECT/GEOM_AISShape.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx index eb2b741d9..6db50f6fa 100644 --- a/src/OBJECT/GEOM_AISShape.cxx +++ b/src/OBJECT/GEOM_AISShape.cxx @@ -192,7 +192,9 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent //a4bis->SetInteriorColor(myShadingColor); myDrawer->ShadingAspect()->SetColor(myShadingColor); - StdPrs_ShadedShape::Add(aPrs,myshape,myDrawer); + // PAL12113: AIS_Shape::Compute() works correctly with shapes containing no faces + //StdPrs_ShadedShape::Add(aPrs,myshape,myDrawer); + AIS_Shape::Compute(aPresentationManager, aPrs, aMode); break; } } -- 2.39.2