Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. import bpy
  2.  
  3. for i,o in enumerate(bpy.context.selected_objects):
  4. o.pass_index = i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement