Open Vinc3r opened 6 years ago
import bpy import random def returnRandColor(): return random.randrange(0, 1000000) / 1000000 for mat in bpy.data.materials: mat.diffuse_color = (returnRandColor(), returnRandColor(), returnRandColor(), 1)