From: apo Date: Sun, 25 Nov 2007 14:10:50 +0000 (+0000) Subject: Fix for Bug IPAL17640 X-Git-Tag: mergefrom_MERGE_MULTIPR_EVOLUTION_07-Dec-07~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90917b5fc26883bc0febf17f0aba4419d636b51d;p=modules%2Fvisu.git Fix for Bug IPAL17640 4.x: option "IJK (Structured)" disabled for clipping planes. (minor changes) --- diff --git a/src/VISUGUI/VisuGUI_ClippingDlg.cxx b/src/VISUGUI/VisuGUI_ClippingDlg.cxx index 29adb4c8..4a7d8b95 100644 --- a/src/VISUGUI/VisuGUI_ClippingDlg.cxx +++ b/src/VISUGUI/VisuGUI_ClippingDlg.cxx @@ -1143,8 +1143,7 @@ bool VisuGUI_ClippingDlg::isStructured() const VISU::Result_i* result = myPrs3d ? myPrs3d->GetCResult() : 0; if (result) { gp_Dir dir; - CORBA::String_var aMeshName = myPrs3d->GetMeshName(); - return result->GetAxisInfo(aMeshName.in(), + return result->GetAxisInfo(myPrs3d->GetCMeshName(), VISU::Result_i::AXIS_X, dir); }