mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 03:30:33 +05:00
Fix multi-file dump
This commit is contained in:
parent
2bdf78860b
commit
51e8f347ad
@ -949,11 +949,11 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl
|
||||
std::list< TCollection_AsciiString >::iterator linesIt;
|
||||
|
||||
if ( isPublished )
|
||||
lines.push_back( tab + aSMESHGen + " = smeshBuilder.New(theStudy)" );
|
||||
lines.push_back( aSMESHGen + " = smeshBuilder.New(theStudy)" );
|
||||
else
|
||||
lines.push_back( tab + aSMESHGen + " = smeshBuilder.New(None)" );
|
||||
lines.push_back( tab + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()" );
|
||||
lines.push_back( tab + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()" );
|
||||
lines.push_back( aSMESHGen + " = smeshBuilder.New(None)" );
|
||||
lines.push_back( helper + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()" );
|
||||
lines.push_back( helper + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()" );
|
||||
|
||||
// Treat dump trace of restored study
|
||||
if (theSavedTrace.Length() > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user