This is a C++ assertion even though I'm using Ogre, this error should be generic: here it is:
this is the code i'm using to load the scene (DotSceneloader)
rapidxml::xml_document<> XMLDoc;
rapidxml::xml_node<>* XMLRoot;
std::ifstream fp;
fp.open("Test_Scene.xml",std::ios::in | std::ios::binary );
Ogre::DataStreamPtr stream(OGRE_NEW Ogre::FileStreamDataStream("Test_Scene.xml",&fp,false));
char* sampleAppConfig = strdup(stream->getAsString().c_str());
XMLDoc.parse<0>(sampleAppConfig);
XMLRoot = XMLDoc.first_node("Asylum");
Ogre::String projectDir = Ogre::String(XMLRoot->first_attribute("projectDir")->value());
this->mSceneFile = Ogre::String(XMLRoot->first_attribute("scene")->value());
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../" + projectDir,"FileSystem","General");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("../" + projectDir + "/Models","FileSystem","General");
I'm working on a Havok/Ogre plug in and want to load the scene with everything already positioned cause positioning everything manuall in code would take forever. si, IDK
"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack