When i clone my sceneNode, crash occurred upon following code, caused by the NULL pointer of Shadow
newNode->Shadow = Shadow;
newNode->Shadow->grab();
crash in CAnimatedMeshSceneNode::clone
-
- Posts: 28
- Joined: Wed Jan 30, 2013 3:29 am
Re: crash in CAnimatedMeshSceneNode::clone
Sorry, it's a bug in Irrlicht 1.8. The fix is already in the 1.8 release branch in Irrlicht svn, or you have to fix it locally by adding a "if (Shadow)" before the grab() (it crashes because Shadow is 0).
See this thread for more info: http://irrlicht.sourceforge.net/forum/v ... 2&p=275166
It will also be fixed in Irrlicht 1.8.1 but we haven't set a release date for that yet.
See this thread for more info: http://irrlicht.sourceforge.net/forum/v ... 2&p=275166
It will also be fixed in Irrlicht 1.8.1 but we haven't set a release date for that yet.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm