Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
788e2d8
)
Correct python dump for the SHAPERSTUDY part of the script
occ/shaper2smesh
author
mpv
<mpv@opencascade.com>
Fri, 14 Feb 2020 12:51:40 +0000
(15:51 +0300)
committer
mpv
<mpv@opencascade.com>
Fri, 14 Feb 2020 12:51:40 +0000
(15:51 +0300)
src/SMESH_I/SMESH_2smeshpy.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_2smeshpy.cxx
b/src/SMESH_I/SMESH_2smeshpy.cxx
index d126f6b23a5a017f75b8a8c0b20399b2cdadba6f..10398d8fcb7721847bebd7eedbd78cebd8b4981c 100644
(file)
--- 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] == '(' );
}