]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix dump of SetColor for groups
authorgdd <gdd>
Wed, 11 May 2011 18:07:30 +0000 (18:07 +0000)
committergdd <gdd>
Wed, 11 May 2011 18:07:30 +0000 (18:07 +0000)
src/SMESH_I/SMESH_Group_i.cxx

index fa4db625c3f243a78257a24312b3ed74dc5b4483..5a98e7009459408e71d21e6627e1a713eaf3d3ac 100644 (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<<" ))";
   }
 }