Fix #33264: Array MOD First Last option does nothing
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 22 Nov 2012 12:03:15 +0000 (12:03 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 22 Nov 2012 12:03:15 +0000 (12:03 +0000)
source/blender/modifiers/intern/MOD_array.c

index d03298991d688434d190f00a520b904a91aaee1e..d4463098f07883a1791514680085e6d8c20c6a92 100644 (file)
@@ -316,7 +316,7 @@ static void merge_first_last(BMesh *bm,
        BMO_op_exec(bm, &find_op);
 
        /* add new merge targets to weld operator */
-       slot_targetmap = BMO_slot_get(weld_op->slots_out, "targetmap");
+       slot_targetmap = BMO_slot_get(weld_op->slots_in, "targetmap");
        BMO_ITER (v, &oiter, find_op.slots_out, "targetmap.out", 0) {
                v2 = BMO_iter_map_value_p(&oiter);
                BMO_slot_map_ptr_insert(weld_op, slot_targetmap, v, v2);