]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Initialize some fields before usage.
authorjfa <jfa@opencascade.com>
Tue, 2 Sep 2008 07:47:02 +0000 (07:47 +0000)
committerjfa <jfa@opencascade.com>
Tue, 2 Sep 2008 07:47:02 +0000 (07:47 +0000)
src/OBJECT/SMESH_DeviceActor.cxx
src/SMESH/SMESH_Octree.cxx

index 8a7341b4913e6006ae2cd1d7954d49b06d598a02..c885fb9321fc904a41a4ae8608f9d7df7c0b2902 100644 (file)
@@ -80,8 +80,10 @@ SMESH_DeviceActor
 {
   if(MYDEBUG) MESSAGE("SMESH_DeviceActor - "<<this);
 
-  myIsShrunk = false;
   myIsShrinkable = false;
+  myIsShrunk = false;
+  myIsHighlited = false;
+
   myRepresentation = eSurface;
 
   myProperty = vtkProperty::New();
index 93d241c7e3232ec29be81313474a3c444e08ec34..1b02db8dad3cde551dfc1fa5c8bb501531f6cf3a 100644 (file)
@@ -35,6 +35,7 @@
  */
 //===========================================================================
 SMESH_Octree::SMESH_Octree (const int maxLevel, const double minBoxSize):
+    myChildren(NULL),
     myFather(NULL),
     myLevel(0),
     myMaxLevel(maxLevel),