From: eap Date: Fri, 25 Apr 2008 06:26:27 +0000 (+0000) Subject: Fix problem that "Show SubShape" does not work X-Git-Tag: V4_1_2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=688f84c3872efc61b1fa112dcfa323fabad592f7;p=modules%2Fsmesh.git Fix problem that "Show SubShape" does not work --- diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index 51d62037b..c160f781b 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -266,8 +266,8 @@ namespace SMESH { if ( !actor ) { actor = GEOM_Actor::New(); if ( actor ) { - actor->setInputShape(shape,0,0); - //actor->SetProperty(myProperty); + actor->SetShape(shape,0,0); + actor->SetProperty(myProperty); actor->SetShadingProperty(myProperty); actor->SetWireframeProperty(myProperty); actor->SetPreviewProperty(myProperty);