Fixed bug with displaying Creation Information for ShapeProcess function: wrong parameters names are shown

This commit is contained in:
vsr 2016-05-20 15:03:01 +03:00
parent a529555611
commit e140eb6407

View File

@ -1048,7 +1048,7 @@ GetCreationInformation(std::string& theOperationName,
AddParam( theParams, "Operation", op );
for ( int iP = aParams->Lower(), nbP = aParams->Upper(); iP <= nbP; ++iP )
{
const TCollection_ExtendedString& par = aParams->Value(i);
const TCollection_ExtendedString& par = aParams->Value(iP);
TCollection_AsciiString parAscii( par );
if ( par.Search( op ) == 1 && parAscii.Value( op.Length() + 1 ) == '.' )
{