Fix dump of SetColor for groups

This commit is contained in:
gdd 2011-05-11 18:07:30 +00:00
parent a6b047ce31
commit f1060fcdcd

View File

@ -479,7 +479,7 @@ void SMESH_GroupBase_i::SetColor(const SALOMEDS::Color& color)
{
Quantity_Color aQColor( color.R, color.G, color.B, Quantity_TOC_RGB );
aGroupDS->SetColor(aQColor);
TPythonDump()<<_this()<<".SetColor( "<<color.R<<", "<<color.G<<", "<<color.B<<" )";
TPythonDump()<<_this()<<".SetColor( SALOMEDS.Color( "<<color.R<<", "<<color.G<<", "<<color.B<<" ))";
}
}