From: san Date: Thu, 13 Apr 2006 15:39:23 +0000 (+0000) Subject: PAL12113 X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0483cfa3b7f8fb6bcf4914d1722217f7a7078498;p=modules%2Fgeom.git PAL12113 --- 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; } }