[Blender] Baking optimization
This commit is contained in:
parent
90945c0430
commit
25c9cbfbe9
6 changed files with 182 additions and 13 deletions
|
@ -28,6 +28,7 @@ def uv_unwrap(obj_names, angle_limit=30):
|
|||
''' UV unwrapping and UV packing processing '''
|
||||
for obj_name in obj_names:
|
||||
obj = bpy.data.objects[obj_name]
|
||||
bpy.ops.object.select_all(action='DESELECT')
|
||||
obj.select_set(True)
|
||||
bpy.context.view_layer.objects.active = obj
|
||||
bpy.ops.object.mode_set(mode='EDIT')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue