]> git.mxchange.org Git - simgear.git/commitdiff
Make sure the boundingvolumes for the btg files are as high as possible
authorfrohlich <frohlich>
Sun, 15 Mar 2009 15:06:19 +0000 (15:06 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 18 Mar 2009 06:53:51 +0000 (07:53 +0100)
in the scenegraph.

Modified Files:
simgear/scene/tgdb/SGReaderWriterBTG.cxx

simgear/scene/tgdb/SGReaderWriterBTG.cxx

index 1ab674fd1664c79b0db2afeb0cff22f855cddf22..a93bfceca18c92ab95af31afc1928df919c70675 100644 (file)
@@ -77,7 +77,13 @@ SGReaderWriterBTG::readNode(const std::string& fileName,
         return ReadResult::FILE_NOT_HANDLED;
 }
 
+
+typedef ModelRegistryCallback<DefaultProcessPolicy, NoCachePolicy,
+                              NoOptimizePolicy, NoCopyPolicy,
+                              NoSubstitutePolicy, BuildGroupBVHPolicy>
+BTGCallback;
+
 namespace
 {
-ModelRegistryCallbackProxy<LoadOnlyCallback> g_btgCallbackProxy("btg");
+ModelRegistryCallbackProxy<BTGCallback> g_btgCallbackProxy("btg");
 }