deleting nodes

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
DarkWood_Neo
Posts: 52
Joined: Thu Sep 04, 2003 7:45 pm
Location: Germany

deleting nodes

Post by DarkWood_Neo »

how can i delete nodes (ISceneNodes)? if I call delete I got a runtime error. If i use drop() i got a runtime error, too.
qwe
Posts: 112
Joined: Sun Dec 28, 2003 12:54 am
Location: Oregon, USA

Post by qwe »

In the docs it says pointers to ISceneNodes should not be dropped... I think it gets taken care of in "device->drop()".
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

DarkWood_Neo
Posts: 52
Joined: Thu Sep 04, 2003 7:45 pm
Location: Germany

Post by DarkWood_Neo »

Oh! i didn't know the remove function! :oops: thank you!
Post Reply