Ridley5 opened this issue on Jul 26, 2010 · 1724 posts
adp001 posted Sun, 01 August 2010 at 2:03 PM
Here is a short and fast test if a geometry (actor/prop) needs more than just one material:
geom=actor.Geometry()
polys=geom.Polygons()
if [p for p in polys if p.MaterialIndex() != polys[0].MaterialIndex()] :
print "more than one material in this geometry found"