> However you shouldn't be storing this pointer in CustomDataLayer*, you should > do something like this instead: (...)
Ah, now I I understand the CustomData_get_* functions better. Way more clear thanks a lot Brecht. @Tom, many thanks, my system was crashing some times, but I haven't stop to pinpoint the MEM_callocN issue ;), and thanks for the other fix too. Apparently the function is fully working now :) The only missing bit is to get the number of verts of the MTFace to know when it's a quad and when it is a triangle. Kudos, Dalai -- blendernetwork.org/dalai-felinto www.dalaifelinto.com _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers