mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-22 02:17:18 +01:00
Fix normal (re)generation in mdr ed.
This commit is contained in:
parent
2d38189554
commit
0707a9fa84
@ -1238,7 +1238,7 @@ func generate_normals():
|
|||||||
var orig_seams = copy_pool_int_array(_mdr.seams)
|
var orig_seams = copy_pool_int_array(_mdr.seams)
|
||||||
|
|
||||||
var seam_points : PoolVector3Array = MDRMeshUtils.seams_to_points(_mdr)
|
var seam_points : PoolVector3Array = MDRMeshUtils.seams_to_points(_mdr)
|
||||||
MDRMeshUtils.generate_normals(_mdr)
|
MDRMeshUtils.generate_normals_mdr(_mdr)
|
||||||
MDRMeshUtils.points_to_seams(_mdr, seam_points)
|
MDRMeshUtils.points_to_seams(_mdr, seam_points)
|
||||||
|
|
||||||
add_mesh_seam_change_undo_redo(orig_arr, orig_seams, _mdr.array, _mdr.seams, "Generate Normals")
|
add_mesh_seam_change_undo_redo(orig_arr, orig_seams, _mdr.array, _mdr.seams, "Generate Normals")
|
||||||
|
Loading…
Reference in New Issue
Block a user