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

index 2399636e5e682d314e92e95385e070aab0f9cb30..257fcd9f8b08d35b8cced1196d6a4b226088ec3d 100644 (file)
@@ -83,8 +83,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),