mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Force blender-evaluated normal usage for cooking
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user