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)
call to node->drop() make scenemanager fails on drawAll(
-
- Posts: 10
- Joined: Sat Jul 19, 2008 12:27 pm
call to node->drop() make scenemanager fails on drawAll(
Last edited by kalvinorama on Fri Jan 07, 2011 1:28 pm, edited 1 time in total.
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.
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.
-
- Posts: 10
- Joined: Sat Jul 19, 2008 12:27 pm