Revert "simgear/scene/model/ModelRegistry.cxx: avoid noisy diagnostic from OSG."
This reverts commit 7762bc2cad
.
This broke Windows and Mac builds.
This commit is contained in:
parent
20fb7a9ce0
commit
9bea6afb80
@ -608,10 +608,7 @@ osg::ref_ptr<osg::Node> DefaultCachePolicy::find(const string& fileName, const O
|
|||||||
void DefaultCachePolicy::addToCache(const string& fileName,
|
void DefaultCachePolicy::addToCache(const string& fileName,
|
||||||
osg::Node* node)
|
osg::Node* node)
|
||||||
{
|
{
|
||||||
/* Avoid default options=NULL in this call, as it provokes noisy diagnostic
|
Registry::instance()->addEntryToObjectCache(fileName, node);
|
||||||
in OSG. */
|
|
||||||
Options options;
|
|
||||||
Registry::instance()->addEntryToObjectCache(fileName, node, 0 /*timestamp*/, &options);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Optimizations we don't use:
|
// Optimizations we don't use:
|
||||||
|
Loading…
Reference in New Issue
Block a user