From: asl Date: Thu, 10 Dec 2009 14:10:03 +0000 (+0000) Subject: debug X-Git-Tag: PHASE_17_Part1_V3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a47f0b3c35e5193719565aa3643e7356170a2da0;p=modules%2Fkernel.git debug --- diff --git a/src/Notebook/SALOME_Notebook.cxx b/src/Notebook/SALOME_Notebook.cxx index 62eb36eba..0b82b5c16 100644 --- a/src/Notebook/SALOME_Notebook.cxx +++ b/src/Notebook/SALOME_Notebook.cxx @@ -949,9 +949,7 @@ char* SALOME_Notebook::DumpPython() for( ; it!=last; it++ ) aParams.push_back( KeyHelper( it->first, this ) ); - printf( "%i\n", aParams.size() ); Sort( aParams ); - printf( "%i\n", aParams.size() ); std::list< KeyHelper >::const_iterator pit = aParams.begin(), plast = aParams.end(); std::string anEntry; for( ; pit!=plast; pit++ ) @@ -1114,8 +1112,11 @@ SALOME::StringArray* SALOME_Notebook::GetObjectParameters( const char* theCompon const std::list& aLst = myDependencies[*dit]; std::list::const_iterator lit = aLst.begin(), llast = aLst.end(); for( ; lit!=llast; lit++ ) - if( find( aDeps.begin(), aDeps.end(), *lit ) == aDeps.end() ) - aDeps.push_back( *lit ); + { + GetComponent( *lit, aName ); + if( find( aDeps.begin(), aDeps.end(), aName ) == aDeps.end() ) + aDeps.push_back( aName ); + } } else if( find( aDeps.begin(), aDeps.end(), aName ) == aDeps.end() ) aDeps.push_back( aName ); @@ -1226,6 +1227,7 @@ void SALOME_Notebook::ParseOldStyleObject( const std::string& theComponent, cons void SALOME_Notebook::RebuildLinks() { + return; printf( "Rebuild links\n" ); SALOMEDS::StudyBuilder_var aBuilder = myStudy->NewBuilder();