From f0270f934e2bb4e7b5e4bbafe02f2ca0a47037cb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 20 Dec 2008 20:30:08 +0000 Subject: [PATCH] Changed the scale from 0.03 to 0.0254 as the Q3 bsp files are in inches. --- src/osgPlugins/bsp/Q3BSPReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/bsp/Q3BSPReader.cpp b/src/osgPlugins/bsp/Q3BSPReader.cpp index 2781ca424..34dea57d0 100644 --- a/src/osgPlugins/bsp/Q3BSPReader.cpp +++ b/src/osgPlugins/bsp/Q3BSPReader.cpp @@ -182,7 +182,7 @@ osg::Geode* Q3BSPReader::convertFromBSP( osg::Vec2Array* text_decal_array = new osg::Vec2Array(num_load_vertices); osg::Vec2Array* text_lmap_array = new osg::Vec2Array(num_load_vertices); - float scale = 0.03; + float scale = 0.0254; unsigned int i; for(i=0; i