diff --git a/src/osgPlugins/txp/TileMapper.h b/src/osgPlugins/txp/TileMapper.h index 91dec96a6..46901ca33 100644 --- a/src/osgPlugins/txp/TileMapper.h +++ b/src/osgPlugins/txp/TileMapper.h @@ -95,7 +95,8 @@ public: TileMapper(): - osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN) {} + osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN), + _containsGeode(false) {} virtual osg::Vec3 getEyePoint() const diff --git a/src/osgPlugins/txp/trpage_io.h b/src/osgPlugins/txp/trpage_io.h index 34d457dc6..a55633412 100644 --- a/src/osgPlugins/txp/trpage_io.h +++ b/src/osgPlugins/txp/trpage_io.h @@ -285,7 +285,7 @@ public: TX_EXDECL class TX_CLDECL trpg3dPoint { public: double x,y,z; - trpg3dPoint(void) { }; + trpg3dPoint(void) : x(0.0),y(0.0),z(0.0) { }; trpg3dPoint(double in_x,double in_y,double in_z) {x = in_x; y = in_y; z = in_z;} bool operator==(const trpg3dPoint& pt ) const { if ( x != pt.x ) return false;