THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/10/2005 at 05:47, xxxxxxxx wrote:
Cinema 4D Version: 9.5
Language(s) : C++ ;
I have an AtomArray that contains a list of objects that are in the document.
I am right in saying that the AtomArray stores a list of pointers to the objects in the document?
The reason I ask her because of this situation
1. I create a Cube Primitive using C4D
2. I add that cube to the AtomArray using AtomArray::Append(BaseDocument::GetActiveObject())
3. In C4D, I use the Make Editable command , or delete the object, or change it another way etc
What happens with the pointer under the AtomArray?
From my tests there is still a valid pointer, but its not pointing to anything, and I recieve a crash when trying to access the objects properties