[Blender] Baking optimization

This commit is contained in:
brothermechanic 2023-10-16 12:21:34 +00:00 committed by Igor Brylyov
parent 90945c0430
commit 25c9cbfbe9
6 changed files with 182 additions and 13 deletions

View file

@ -26,6 +26,7 @@ logging.basicConfig(level=logging.INFO)
def export_decorator(func):
def wrapper(**kwargs):
bpy.ops.object.select_all(action='DESELECT')
# add defaults
kwargs.setdefault('path', '//')
kwargs.setdefault('subdir', '')