From 96abbe11709e9d5e3e99736bb62875844b9c84f3 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 31 Jan 2006 15:47:48 +0000 Subject: [PATCH] Fix for - Bug GVIEW11271 SMESH: Add Polyhedron by Faces - Crash --- src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.2