fn sortByMaterial =(--Sorts through the (now sorted) master material array and matches objects from the MSO array to the value -- If a match is found then the object is placed into a new temporary array -- The object is removed from the MSO array so that duplicates are not placed into the new temp array -- The MSO array is…
Hey Polycounters, I have a question/in need of some help. I have been wracking my brain trying to figure this one out for a while now. So I have this tool that lists the stats of objects in the scene. The last column of my tool lists the number of materials you have assigned to the faces of each object. This works fine,…
I was wondering that myself but I fixed it in the end without having to use a 2d array. I set a user property to the object and assigned the materials count to that and read from that to get all my other settings. It's a lot faster and works well :)