From: apo Date: Tue, 31 Jan 2006 15:47:48 +0000 (+0000) Subject: Fix for - Bug GVIEW11271 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96abbe11709e9d5e3e99736bb62875844b9c84f3;p=modules%2Fsmesh.git Fix for - Bug GVIEW11271 SMESH: Add Polyhedron by Faces - Crash --- diff --git a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx index 5eb0eaf93..e192ee20f 100644 --- a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx @@ -109,6 +109,7 @@ class TPolySimulation{ myPreviewActor->PickableOff(); myPreviewActor->VisibilityOff(); myPreviewActor->SetMapper( myMapper ); + myPreviewActor->SetRepresentation( 3 ); float anRGB[3]; vtkProperty* aProp = vtkProperty::New();