Lol @ Ziggy http://www.blitzmax.com/codearcs/codearcs.php?code=2031
I totaly forgot to add Delete Methods doh
Anyway, what about surfaces? If I attach a surface to a Mesh, then free the Mesh. Is the surface freed? Or conversly, if I free a surface after Ive attahed it to a mesh, has the surface become part of the Mesh so isnt freed?
Etc
(I can see that a brush copies its information to a surface/entity/mesh, so is safe to delete after use, but its not clear at all what happens to surfaces)
I totaly forgot to add Delete Methods doh
Anyway, what about surfaces? If I attach a surface to a Mesh, then free the Mesh. Is the surface freed? Or conversly, if I free a surface after Ive attahed it to a mesh, has the surface become part of the Mesh so isnt freed?
Etc
(I can see that a brush copies its information to a surface/entity/mesh, so is safe to delete after use, but its not clear at all what happens to surfaces)