+ fix gcc build failure

This commit is contained in:
wmayer 2015-03-28 16:35:27 +01:00
parent f3cd3e4ce8
commit 30e4eae4aa

View File

@ -113,6 +113,7 @@ void ViewProviderVRMLObject::getResourceFile(SoNode* node, std::list<std::string
}
}
namespace Gui {
// Special handling for SoVRMLBackground
template<>
void ViewProviderVRMLObject::getResourceFile<SoVRMLBackground>(SoNode* node, std::list<std::string>& resources)
@ -155,6 +156,8 @@ void ViewProviderVRMLObject::getResourceFile<SoVRMLBackground>(SoNode* node, std
}
}
}
void ViewProviderVRMLObject::addResource(const SbString& url, std::list<std::string>& resources)
{
SbString found = SoInput::searchForFile(url, SoInput::getDirectories(), SbStringList());