[Bf-blender-cvs] [e22e3028371] master: Fix T80623: Correct Face Attributes affecting modes not listed

Germano Cavalcante noreply at git.blender.org
Fri Sep 11 20:41:35 CEST 2020


Commit: e22e30283714d03d0b57ebfa3a4dcda35c808c86
Author: Germano Cavalcante
Date:   Fri Sep 11 15:39:33 2020 -0300
Branches: master
https://developer.blender.org/rBe22e30283714d03d0b57ebfa3a4dcda35c808c86

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 7ad54a56545..06ab60d992c 100644
--- a/source/blender/editors/transform/transform_convert_mesh.c
+++ b/source/blender/editors/transform/transform_convert_mesh.c
@@ -1296,6 +1296,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