[Bf-blender-cvs] [d41acacc61a] master: Fix T52212: Vgroups doesn't work after Carve Boolean

Sergey Sharybin noreply at git.blender.org
Fri Jul 28 11:56:02 CEST 2017


Commit: d41acacc61a2ae43ce0537d06eb5b256533d08da
Author: Sergey Sharybin
Date:   Fri Jul 28 11:55:24 2017 +0200
Branches: master
https://developer.blender.org/rBd41acacc61a2ae43ce0537d06eb5b256533d08da

Fix T52212: Vgroups doesn't work after Carve Boolean

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

M	source/blender/modifiers/intern/MOD_boolean_util.c

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

diff --git a/source/blender/modifiers/intern/MOD_boolean_util.c b/source/blender/modifiers/intern/MOD_boolean_util.c
index 061b1198f7e..49010664aa8 100644
--- a/source/blender/modifiers/intern/MOD_boolean_util.c
+++ b/source/blender/modifiers/intern/MOD_boolean_util.c
@@ -390,6 +390,9 @@ static void exporter_InitGeomArrays(ExportMeshData *export_data,
 	 * the operand. Data for those layers will not be allocated or initialized.
 	 */
 
+	CustomData_merge(&dm_left->vertData, &dm->vertData, merge_mask, CD_DEFAULT, num_verts);
+	CustomData_merge(&dm_right->vertData, &dm->vertData, merge_mask, CD_DEFAULT, num_verts);
+
 	CustomData_merge(&dm_left->loopData, &dm->loopData, merge_mask, CD_DEFAULT, num_loops);
 	CustomData_merge(&dm_right->loopData, &dm->loopData, merge_mask, CD_DEFAULT, num_loops);




More information about the Bf-blender-cvs mailing list