patch [#31574] Screw seams to not work
authorCampbell Barton <ideasman42@gmail.com>
Wed, 13 Jun 2012 16:06:13 +0000 (16:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 13 Jun 2012 16:06:13 +0000 (16:06 +0000)
from Benoit Donat-Bouillud (ladeheria)

from tracker -
  When using a screw axis (reference edge for screw), the operation always give the same result (as if the orientation of the reference edge was not take into account).

source/blender/bmesh/operators/bmo_dupe.c

index ae001b2baf62c8b32c17023478ce2f7515724ed2..6e6037239b9f3252939961b958805f26bc795b20 100644 (file)
@@ -504,7 +504,9 @@ void bmo_spin_exec(BMesh *bm, BMOperator *op)
                        BMO_op_finish(bm, &extop);
                }
 
-               if (usedvec)
+               if (usedvec) {
+                       mul_m3_v3(rmat, dvec);
                        BMO_op_callf(bm, "translate vec=%v verts=%s", dvec, op, "lastout");
+               }
        }
 }