[Bf-blender-cvs] [4f6e51aa520] blender-v2.90-release: Fix T80623: Correct Face Attributes affecting modes not listed

Germano Cavalcante noreply at git.blender.org
Mon Sep 21 09:50:34 CEST 2020


Commit: 4f6e51aa5201c5eb00e009a95898c224f77d2c05
Author: Germano Cavalcante
Date:   Fri Sep 11 15:39:33 2020 -0300
Branches: blender-v2.90-release
https://developer.blender.org/rB4f6e51aa5201c5eb00e009a95898c224f77d2c05

Fix T80623: Correct Face Attributes affecting modes not listed

Some transform modes (such as Mirror) are not listed to have UV corrected
during the transformation.

It messed up the UV of all of these.

===================================================================

M	source/blender/editors/transform/transform_convert_mesh.c

===================================================================

diff --git a/source/blender/editors/transform/transform_convert_mesh.c b/source/blender/editors/transform/transform_convert_mesh.c
index c509cc782e5..cbbdb4c6c8f 100644
--- a/source/blender/editors/transform/transform_convert_mesh.c
+++ b/source/blender/editors/transform/transform_convert_mesh.c
@@ -1293,6 +1293,9 @@ void mesh_customdatacorrect_init(TransInfo *t)
       use_merge_group = (t->settings->uvcalc_flag & UVCALC_TRANSFORM_CORRECT_KEEP_CONNECTED) != 0;
     }
   }
+  else {
+    return;
+  }
 
   FOREACH_TRANS_DATA_CONTAINER (t, tc) {
     mesh_customdatacorrect_init_container(tc, use_merge_group);



More information about the Bf-blender-cvs mailing list