Hi all,
I want to remove all duplicate objects from a scene, I want to find the duplicates by comparing polycount of all objects.
When I've found the polycount of each object i want to group all objects with same polycount together and delete all but 1 of them. Should be simple, i am having trouble building an array with all duplicate objects in it though...
My code is attached below, throws no errors but doesn't add any objects to #(duplicates) array. My code does determine polycount for all objects and puts it in objs_info array.
Any help will be greatly appreciated, thank you!
miauu · 2017-08-02