Salome HOME
PAL16842 (Genertion of groups when a mesh is transformed)
[modules/smesh.git] / src / SMESHDS / SMESHDS_GroupBase.cxx
index e374b723bdb5024fb167b22c2618da8877ae3309..da7b0da13f2200da883385a8651e4e73dd9c543b 100644 (file)
@@ -41,8 +41,11 @@ SMESHDS_GroupBase::SMESHDS_GroupBase (const int                 theID,
                                       const SMESHDS_Mesh*       theMesh,
                                       const SMDSAbs_ElementType theType):
        myID(theID), myMesh(theMesh), myType(theType), myStoreName(""),
-       myCurIndex(0), myCurID(-1), myColorGroup(0)
+       myCurIndex(0), myCurID(-1)
 {
+  myColor.R = 0.f;
+  myColor.G = 0.f;
+  myColor.B = 0.f;
 }
 
 //=============================================================================