Initialize some fields before usage.

This commit is contained in:
jfa 2008-09-03 07:05:53 +00:00
parent ff5e5d0e73
commit 5f39147f64
2 changed files with 4 additions and 1 deletions

View 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();

View File

@ -35,6 +35,7 @@
*/
//===========================================================================
SMESH_Octree::SMESH_Octree (const int maxLevel, const double minBoxSize):
myChildren(NULL),
myFather(NULL),
myLevel(0),
myMaxLevel(maxLevel),