On 07/10/2014 at 12:03, xxxxxxxx wrote:
Hi everybody,
i have a standard recursive function for browsing throw the c4d scene to get all objects.
def browse(obj,list) :
if not obj: return
if not list: return
list.append(obj)
browse(obj.GetDown(),list)
browse(obj.GetNext(),list)
return list
Unfortunaly this does not work in R15 if a null group have more than 1500 polygon child objects (C4d just crash). Setting the recursion limit to 50000 with sys.setrecursionlimit(50000) does not seem to work.
All its fine in C4D R14.
Thanks for any help!
shirayuki