I created a script that processed the material in active slot
and it has been ok untill I tried to process a sub-material that is opened in a slot.
It returned a multi/sub-object but I needed a sub-material which was opened in an active slot.
Is there any chance to access the index of active sub-material in medit slot?
I could process all sub-materials from array, but it I'd like firstly to try to realize it as control of every single material.