mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 19:10:34 +05:00
Issue 21428: [CEA] Dump Python produces incorrect output in SMESH
Correction taken from SALOME 6.4.0 and integrated into BR_PPGP_Dev for PPGP v0.1 production needs.
This commit is contained in:
parent
13c60ab0d1
commit
b8faab8fc3
@ -423,7 +423,9 @@ void _pyGen::Process( const Handle(_pyCommand)& theCommand )
|
|||||||
|
|
||||||
// objects erasing creation command if no more it's commands invoked:
|
// objects erasing creation command if no more it's commands invoked:
|
||||||
// SMESH_Pattern, FilterManager
|
// SMESH_Pattern, FilterManager
|
||||||
if ( method == "GetPattern" || method == "CreateFilterManager" ) {
|
if ( method == "GetPattern" ||
|
||||||
|
method == "CreateFilterManager" ||
|
||||||
|
method == "CreateMeasurements" ) {
|
||||||
Handle(_pyObject) obj = new _pySelfEraser( theCommand );
|
Handle(_pyObject) obj = new _pySelfEraser( theCommand );
|
||||||
if ( !myObjects.insert( make_pair( obj->GetID(), obj )).second )
|
if ( !myObjects.insert( make_pair( obj->GetID(), obj )).second )
|
||||||
theCommand->Clear(); // already created
|
theCommand->Clear(); // already created
|
||||||
|
Loading…
Reference in New Issue
Block a user