]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Additional fix for the issue 19964.
authorrnv <rnv@opencascade.com>
Wed, 24 Sep 2008 12:02:05 +0000 (12:02 +0000)
committerrnv <rnv@opencascade.com>
Wed, 24 Sep 2008 12:02:05 +0000 (12:02 +0000)
src/SMESH_I/SMESH_MeshEditor_i.cxx

index 8e3093c91a3ce82025a08acb50b8d092af43b6a9..0b3659fb95b9133ec41de08032a5c608532c926c 100644 (file)
@@ -2287,11 +2287,12 @@ SMESH_MeshEditor_i::MirrorMakeGroups(const SMESH::long_array&            theIDsO
 {
   SMESH::ListOfGroups * aGroups = mirror(theIDsOfElements, theMirror, theMirrorType, true, true);
   if ( !myPreviewMode ) {
+    TPythonDump()<<"axis = "<<theMirror;
     TPythonDump aPythonDump;
     DumpGroupsList(aPythonDump,aGroups);
     aPythonDump << this << ".MirrorMakeGroups( "
                 << theIDsOfElements << ", "
-                << theMirror          << ", "
+                << "axis, "
                 << mirrorTypeName(theMirrorType) << " )";
   }
   return aGroups;
@@ -2310,11 +2311,12 @@ SMESH_MeshEditor_i::MirrorObjectMakeGroups(SMESH::SMESH_IDSource_ptr           t
   SMESH::long_array_var anElementsId = theObject->GetIDs();
   SMESH::ListOfGroups * aGroups = mirror(anElementsId, theMirror, theMirrorType, true, true);
   if ( !myPreviewMode ) {
+    TPythonDump()<<"axis = "<<theMirror;
     TPythonDump aPythonDump;
     DumpGroupsList(aPythonDump,aGroups);
     aPythonDump << this << ".MirrorObjectMakeGroups( "
                 << theObject << ", "
-                << theMirror   << ", "
+                << "axis, "
                 << mirrorTypeName(theMirrorType) << " )";
   }
   return aGroups;