Initialize some fields before usage.

This commit is contained in:
jfa 2008-09-02 07:47:02 +00:00
parent bc3f3f9c01
commit 11c8820aa0
2 changed files with 4 additions and 1 deletions

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

View File

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