From c5f26d78f67f62704d77297985136c724b2c7f99 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Fri, 19 Apr 2002 16:00:15 +0000 Subject: [PATCH] Fixed an assignment that should have been a test --- src/osgPlugins/txp/TrPageParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/txp/TrPageParser.cpp b/src/osgPlugins/txp/TrPageParser.cpp index 101f5ac2d..e396cb287 100644 --- a/src/osgPlugins/txp/TrPageParser.cpp +++ b/src/osgPlugins/txp/TrPageParser.cpp @@ -392,7 +392,7 @@ void* billboardRead::Parse(trpgToken /*tok*/,trpgReadBuffer &buf) Billboard* bl = new Billboard(); int m; bill.GetMode(m); - if( m = trpgBillboard::Eye) + if( m == trpgBillboard::Eye) bl->setMode(Billboard::POINT_ROT_EYE); else if(m == trpgBillboard::World ) bl->setMode(Billboard::POINT_ROT_WORLD);