From fd294b6f98d214063d1f980fbf203e33d2ba000a Mon Sep 17 00:00:00 2001 From: frohlich Date: Sun, 15 Mar 2009 15:06:19 +0000 Subject: [PATCH] Make sure the boundingvolumes for the btg files are as high as possible in the scenegraph. Modified Files: simgear/scene/tgdb/SGReaderWriterBTG.cxx --- simgear/scene/tgdb/SGReaderWriterBTG.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/simgear/scene/tgdb/SGReaderWriterBTG.cxx b/simgear/scene/tgdb/SGReaderWriterBTG.cxx index 1ab674fd..a93bfcec 100644 --- a/simgear/scene/tgdb/SGReaderWriterBTG.cxx +++ b/simgear/scene/tgdb/SGReaderWriterBTG.cxx @@ -77,7 +77,13 @@ SGReaderWriterBTG::readNode(const std::string& fileName, return ReadResult::FILE_NOT_HANDLED; } + +typedef ModelRegistryCallback +BTGCallback; + namespace { -ModelRegistryCallbackProxy g_btgCallbackProxy("btg"); +ModelRegistryCallbackProxy g_btgCallbackProxy("btg"); } -- 2.39.5