Make sure the boundingvolumes for the btg files are as high as possible
in the scenegraph. Modified Files: simgear/scene/tgdb/SGReaderWriterBTG.cxx
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user