diff --git a/src/osgPlugins/txp/trpage_material.cpp b/src/osgPlugins/txp/trpage_material.cpp index ad2a2d7ed..3ca8d7016 100644 --- a/src/osgPlugins/txp/trpage_material.cpp +++ b/src/osgPlugins/txp/trpage_material.cpp @@ -1822,6 +1822,7 @@ bool trpgTexTable::Read(trpgReadBuffer &buf) trpgLocalMaterial::trpgLocalMaterial() { + baseMatTable = -1; baseMat = -1; sx = sy = ex = ey = destWidth = destHeight = 0; addr.resize(1);