mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 09:15:51 +00:00
Fix lightmap script
This commit is contained in:
parent
905386d5e2
commit
6180ec82b3
@ -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'}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user