Hi!
If I have a dummyCube with unknown amount of freeForms as children, would they be free'd if I do dummyCube.free?
Or what happens to the children if I free the parent?
All the best!
Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Daniel Yes all Object based on TGLBaseSceneObject all childrens are automatically free.At this stage If youhave a memory leak surely provide from one of the child object.
If you free the parent and continue some problems can occurs. Normaly at first level parent is the root og GLScene So, if is nil, normally it will be not render. (never test this thing)
Cheers
Jérôme
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
If I have a dummyCube with unknown amount of freeForms as children, would they be free'd if I do dummyCube.free?
Or what happens to the children if I free the parent?
All the best!
Daniel
Hi, Daniel Yes all Object based on TGLBaseSceneObject all childrens are automatically free.At this stage If youhave a memory leak surely provide from one of the child object.
If you free the parent and continue some problems can occurs. Normaly at first level parent is the root og GLScene So, if is nil, normally it will be not render. (never test this thing)
Cheers
Jérôme
Hi Jerome!
Thank you for the answer!!
Cheers!