not doing array
I am trying to filter a group of objects by a modifier name but when I try to collect the loop as an array, it gives me an "ok" instead of an array.
here's the line:
for o in objects do for m in o.modifiers where m.name == "universalUVW" collect o
please if someone can throw some light there I would really appreciate it.
I tryed to refine it eaven further by filtering first the modifier class and then the name but that didn't work either, just out of curiosity, if someone knows why this isn't working, please tell me.
for o in objects do for m in o.modifiers where classof m == UVWunwrap do for i in m where i.name == "universalUVW" collect o