]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for - Bug GVIEW11271
authorapo <apo@opencascade.com>
Tue, 31 Jan 2006 15:47:48 +0000 (15:47 +0000)
committerapo <apo@opencascade.com>
Tue, 31 Jan 2006 15:47:48 +0000 (15:47 +0000)
   SMESH: Add Polyhedron by Faces - Crash

src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx

index 5eb0eaf936e6c858bf6f4f830e97635521f292a5..e192ee20f62d2615960a57f3fbffc1203066cf96 100644 (file)
@@ -109,6 +109,7 @@ class TPolySimulation{
       myPreviewActor->PickableOff();
       myPreviewActor->VisibilityOff();
       myPreviewActor->SetMapper( myMapper );
+      myPreviewActor->SetRepresentation( 3 );
 
       float anRGB[3];
       vtkProperty* aProp = vtkProperty::New();