]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL17640
authorapo <apo@opencascade.com>
Sun, 25 Nov 2007 14:10:50 +0000 (14:10 +0000)
committerapo <apo@opencascade.com>
Sun, 25 Nov 2007 14:10:50 +0000 (14:10 +0000)
   4.x: option "IJK (Structured)" disabled for clipping planes.
(minor changes)

src/VISUGUI/VisuGUI_ClippingDlg.cxx

index 29adb4c8aeac05c0d8e50528b3cc33e15ca1063e..4a7d8b95a00309a0717e6ff74275fbbe11231146 100644 (file)
@@ -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);
   }