call to node->drop() make scenemanager fails on drawAll(

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
kalvinorama
Posts: 10
Joined: Sat Jul 19, 2008 12:27 pm

call to node->drop() make scenemanager fails on drawAll(

Post by kalvinorama »

Hello everybody,

I can't post codes because it is part of a big project.

But i have a reccurrent problem.

When i call the function drop() for a node, it makes the scenemanager has an error the next time i call drawAll(). It sipmply returns to windows, and i don't have an access to the error with the debugger...

Is somebody has the same type of error ? Do you know where it can come from ?

Thanks in advance.
(sorry for my english)
Last edited by kalvinorama on Fri Jan 07, 2011 1:28 pm, edited 1 time in total.
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

I guess you didn't want to use the word 'plant', maybe you're French and you mean 'fail'.

By the way if you want to remove a scene node just use the remove method instead of drop. The node is created by the scene manager and the drop function is actually called by the manager himself.

If you just want to hide the scene node, use the setVisible function.
kalvinorama
Posts: 10
Joined: Sat Jul 19, 2008 12:27 pm

Post by kalvinorama »

Ok, thanks for your answer. i will try that.

Yes, I'm french :lol: , title was changed.
Post Reply