Re-enable the changed event before returning early in uv_unwrap().

This commit is contained in:
Relintai 2022-02-13 16:42:53 +01:00
parent cf5dcf4512
commit c2b76ea2f4

View File

@ -1635,6 +1635,7 @@ func uv_unwrap() -> void:
if uvs.size() != mdr_arr[ArrayMesh.ARRAY_VERTEX].size(): if uvs.size() != mdr_arr[ArrayMesh.ARRAY_VERTEX].size():
print("Error: Could not unwrap mesh!") print("Error: Could not unwrap mesh!")
enable_change_event(false)
return return
var orig_arr : Array = copy_arrays(mdr_arr) var orig_arr : Array = copy_arrays(mdr_arr)