LoadDocument::Copy Objects with Materials
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2007 at 14:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8
Platform: Windows ;
Language(s) : C++ ;---------
Hi,
I am pasting from a LoadDocument() into my main doc.
all the objects I copy inster without materials, after that i copy material by material into the scene. the texture links are fine as soon as I insert the materials.
but now i get multible copys of the same material, is there a easyer way to copy objects from one doc to another, but using the existing materials.
kind of like you would copy and paste manualy in C4D, if you insert the object, materials will be inserted, if there is already a copy of material in the destination document it will use that instead of inserting another one.
also I get a memory leak, the document does not free up its memory.
thanks,
-jay