Commit 37f186d3 authored by nfoy's avatar nfoy

fix compilation warning on Fedora21 due to deprecated Ogre function call

parent 6171d7ce
......@@ -1443,7 +1443,7 @@ Ogre::String DotSceneLoader::getProperty(const Ogre::String &ndNm, const Ogre::S
void DotSceneLoader::processUserDataReference(rapidxml::xml_node<>* XMLNode, Ogre::Entity *pEntity)
{
Ogre::String str = XMLNode->first_attribute("id")->value();
pEntity->setUserAny(Ogre::Any(str));
pEntity->getUserObjectBindings().setUserAny(Ogre::Any(str));
}
#endif
\ No newline at end of file
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment