mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-06-08 01:57:49 +05:00
Dump Python extension
This commit is contained in:
parent
1978ffea14
commit
46248f9be4
@ -828,7 +828,10 @@ void ReplaceVariables(TCollection_AsciiString& theCommand,
|
|||||||
if(i == 1)
|
if(i == 1)
|
||||||
{
|
{
|
||||||
aStartPos = theCommand.Location(O_BRACKET, 1, theCommand.Length()) + 1;
|
aStartPos = theCommand.Location(O_BRACKET, 1, theCommand.Length()) + 1;
|
||||||
aEndPos = theCommand.Location(COMMA, 1, theCommand.Length());
|
if(aTotalNbParams != 1 )
|
||||||
|
aEndPos = theCommand.Location(COMMA, 1, theCommand.Length());
|
||||||
|
else
|
||||||
|
aEndPos = theCommand.Location(C_BRACKET, 1, theCommand.Length());
|
||||||
}
|
}
|
||||||
//Replace last parameter (bettwen ',' character and ')' character)
|
//Replace last parameter (bettwen ',' character and ')' character)
|
||||||
else if(i == aTotalNbParams)
|
else if(i == aTotalNbParams)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user