mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +00:00
Fix lightmap script
This commit is contained in:
@@ -402,7 +402,7 @@ class SREARenderLightmaps(bpy.types.Operator):
|
|||||||
obj.data.uv_textures.active_index = 0
|
obj.data.uv_textures.active_index = 0
|
||||||
|
|
||||||
# Make lightmaps
|
# Make lightmaps
|
||||||
bpy.ops.object.bake('INVOKE_DEFAULT', type='DIFFUSE_DIRECT')
|
bpy.ops.object.bake('INVOKE_DEFAULT', type='DIFFUSE', pass_filter={'DIRECT'})
|
||||||
|
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user