Created
May 6, 2016 05:57
-
-
Save nutti/314eee6202b0fe9599341bcb4ecbfe89 to your computer and use it in GitHub Desktop.
Rename UV set as Object Group
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
def rename_uv_as_objgrp(): | |
for o in bpy.data.objects: | |
for uv in o.data.uv_layers: | |
uv.name = o.name + "_" + uv.name | |
if __name__ == "__main__": | |
rename_uv_as_objgrp() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment