From 4668511c931678a2ab61409ef2ce25a4e5f8d6f3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Jul 2016 08:16:39 +0100 Subject: [PATCH] Added initializer --- src/osgPlugins/txp/trpage_material.cpp | 1 + 1 file changed, 1 insertion(+) 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);