mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-27 02:05:36 +00:00
Force blender-evaluated normal usage for cooking
This commit is contained in:
parent
aef919a665
commit
5ed9af92a2
@ -49,8 +49,6 @@ def cook(writebuf, mesh_obj, output_mode, max_skin_banks, max_octant_length=None
|
|||||||
bpy.ops.mesh.select_all(action='DESELECT')
|
bpy.ops.mesh.select_all(action='DESELECT')
|
||||||
bpy.context.scene.update()
|
bpy.context.scene.update()
|
||||||
bpy.ops.object.mode_set(mode='OBJECT')
|
bpy.ops.object.mode_set(mode='OBJECT')
|
||||||
rna_loops = None
|
|
||||||
if copy_mesh.has_custom_normals:
|
|
||||||
copy_mesh.calc_normals_split()
|
copy_mesh.calc_normals_split()
|
||||||
rna_loops = copy_mesh.loops
|
rna_loops = copy_mesh.loops
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user