diff --git a/src/osgPlugins/txp/trpage_scene.cpp b/src/osgPlugins/txp/trpage_scene.cpp index feed887c9..cdb6ff307 100644 --- a/src/osgPlugins/txp/trpage_scene.cpp +++ b/src/osgPlugins/txp/trpage_scene.cpp @@ -457,6 +457,7 @@ protected: trpgSceneGraphParser::trpgSceneGraphParser() { top = currTop = NULL; + gmap = NULL; // Register the readers AddCallback(TRPG_GEOMETRY,new trpgReadGeometryHelper(this));