From: eap Date: Tue, 21 Aug 2012 15:50:07 +0000 (+0000) Subject: 021800: EDF 2346 : Bug in the dump of ExtrusionAlongpathX X-Git-Tag: V6_6_0a1~199 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7722c85978d5207d35d40b1da35e36f3a8d1a919;p=modules%2Fsmesh.git 021800: EDF 2346 : Bug in the dump of ExtrusionAlongpathX --- diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 0544cb091..e76a8a736 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -85,10 +85,8 @@ namespace SMESH TPythonDump:: operator<<(const TVar& theVarValue) { - if ( theVarValue.myVals.empty() ) return *this; - const std::vector< std::string >& varNames = SMESH_Gen_i::GetSMESHGen()->GetLastParameters(); - if ( theVarValue.myVals.size() > 1 ) + if ( theVarValue.myVals.size() != 1 ) { myStream << "[ "; for ( size_t i = 1; i <= theVarValue.myVals.size(); ++i )