diff --git a/hecl/blender/hecl/srea/__init__.py b/hecl/blender/hecl/srea/__init__.py index b61542863..4b2e43396 100644 --- a/hecl/blender/hecl/srea/__init__.py +++ b/hecl/blender/hecl/srea/__init__.py @@ -402,7 +402,7 @@ class SREARenderLightmaps(bpy.types.Operator): obj.data.uv_textures.active_index = 0 # Make lightmaps - bpy.ops.object.bake('INVOKE_DEFAULT', type='DIFFUSE_DIRECT') + bpy.ops.object.bake('INVOKE_DEFAULT', type='DIFFUSE', pass_filter={'DIRECT'}) return {'FINISHED'}