From 59fe51ff7f83a733aee46ecad7adb391bc4323bf Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 14 Feb 2020 15:51:40 +0300 Subject: [PATCH] Correct python dump for the SHAPERSTUDY part of the script --- src/SMESH_I/SMESH_2smeshpy.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index d126f6b23..10398d8fc 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -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] == '(' ); } -- 2.39.2