lordmonkey
19-04-2011 15:24:10
Hello,
I have a small problem. I was trying to implement some new functionalities into my ogre application and then suddenly i got this heap error :
I removed all the added coded to return to previous version and ... boom ... the error remains.
I have tracked it down and I know that the error comes from the this line :
while
and this is the small amount of code I use with this (but I think it is not really relevant) (i put this just in case)
Any ideas what might be wrong ?
I have a small problem. I was trying to implement some new functionalities into my ogre application and then suddenly i got this heap error :
I removed all the added coded to return to previous version and ... boom ... the error remains.
I have tracked it down and I know that the error comes from the this line :
mRenderSystem = new Critter::RenderSystem(mNxScene, mSceneMgr);
while
Critter::RenderSystem* mRenderSystem;
NxOgre::World* mNxWorld;
NxOgre::Scene* mNxScene;
and this is the small amount of code I use with this (but I think it is not really relevant) (i put this just in case)
mNxWorld = NxOgre::World::createWorld(); //("time-controller:ogre, log:yes");
mNxWorld->getRemoteDebugger()->connect();
NxOgre::SceneDescription sceneDesc;
sceneDesc.mGravity = NxOgre::Constants::MEAN_EARTH_GRAVITY;
sceneDesc.mUseHardware = false;
sceneDesc.mName = "NxScene1";
mNxScene = mNxWorld->createScene(sceneDesc);
mNxScene->getMaterial(0)->setStaticFriction(0.5);
mNxScene->getMaterial(0)->setDynamicFriction(0.5);
mNxScene->getMaterial(0)->setRestitution(0.25);
Any ideas what might be wrong ?