]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PAL12113
authorsan <san@opencascade.com>
Thu, 13 Apr 2006 15:39:23 +0000 (15:39 +0000)
committersan <san@opencascade.com>
Thu, 13 Apr 2006 15:39:23 +0000 (15:39 +0000)
src/OBJECT/GEOM_AISShape.cxx

index eb2b741d9777ab7b5fbdb5a3b1a7d9f760e2271c..6db50f6fabf2f9f855667eadbccd44f2a7cc9b10 100644 (file)
@@ -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;
     }
   }