Salome HOME
Correct python dump for the SHAPERSTUDY part of the script occ/shaper2smesh
authormpv <mpv@opencascade.com>
Fri, 14 Feb 2020 12:51:40 +0000 (15:51 +0300)
committermpv <mpv@opencascade.com>
Fri, 14 Feb 2020 12:51:40 +0000 (15:51 +0300)
src/SMESH_I/SMESH_2smeshpy.cxx

index d126f6b23a5a017f75b8a8c0b20399b2cdadba6f..10398d8fcb7721847bebd7eedbd78cebd8b4981c 100644 (file)
@@ -3839,6 +3839,8 @@ bool _pyCommand::IsMethodCall()
     return false;
   if ( myString.StartsWith("#") )
     return false;
+  if ( myString.StartsWith("SHAPERSTUDY") ) // skip shaperstudy specific dump string analysis
+    return false;
   const char* s = myString.ToCString() + GetBegPos( METHOD_IND ) + myMeth.Length() - 1;
   return ( s[0] == '(' || s[1] == '(' );
 }