有大佬会blender吗,我有个模型需要给所有mesh多添加一个uvmap,想知道如何批量添加,网上找到的
import bpy
context = bpy.context
scene = context.scene
# all meshes on mesh objects in scene
meshes = [o.data for o in scene.objects
if o.type == 'MESH']
# add a new "map1" UV to each
for m in meshes:
m.uv_textures.new("map1")
提示没有 uv_textures属性