From 466337c148b97f640a8659176d731139d98a1b73 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Jul 2016 09:56:01 +0100 Subject: [PATCH] Added initializers --- src/osgPlugins/txp/trpage_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/txp/trpage_io.h b/src/osgPlugins/txp/trpage_io.h index 77bb85aa6..0f6901d92 100644 --- a/src/osgPlugins/txp/trpage_io.h +++ b/src/osgPlugins/txp/trpage_io.h @@ -299,7 +299,7 @@ public: TX_EXDECL class TX_CLDECL trpgColor { public: trpgColor(float64 r,float64 g,float64 b) {red = r; green = g; blue = b;} - trpgColor(void) { }; + trpgColor(void) : red(1.0), green(1.0), blue(1.0) { }; bool operator==(const trpgColor& color) { if ( color.red != red ) return false; if ( color.green != green ) return false;