mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
PAL20889 Regression: Geometry objects "shell" and "solid" are not dumped
fix for scenario - create partition with default box as object, plane as tool - dump study Result: exception. error is in ReplaceVariables() on "[]" variable
This commit is contained in:
parent
153f2835d5
commit
b52472cb64
@ -927,6 +927,8 @@ void ReplaceVariables(TCollection_AsciiString& theCommand,
|
||||
aStartPos++;
|
||||
if( aCommand.Value( aEndPos-1 ) == C_SQR_BRACKET )
|
||||
aEndPos--;
|
||||
if ( aStartPos == aEndPos )
|
||||
continue; // PAL20889: for "[]"
|
||||
|
||||
if(MYDEBUG)
|
||||
cout<<"aStartPos = "<<aStartPos<<", aEndPos = "<<aEndPos<<endl;
|
||||
|
Loading…
Reference in New Issue
Block a user