THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/07/2011 at 02:54, xxxxxxxx wrote:
Cinema 4D Version: 12+
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
I have 2 questions.
I have a subcontainer bcsub (with the ID idbcsub) in a container bc.
Calling bc->RemoveData(idbcsub) never returns true, although the entry has disappeared from the index.
This is also the case when using FindIndex, RemoveIndex.
Is the memory really freed?
How do I change the ID of a subcontainer, without copying etc. The following does not change the ID.
BaseContainer* bcsub = bc->GetContainerInstance(idbcsub);
What i expected to see was the sub container with the new id in the index list.