Fix error introduced by D1588
authorCampbell Barton <ideasman42@gmail.com>
Thu, 29 Oct 2015 13:09:25 +0000 (00:09 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 29 Oct 2015 13:09:25 +0000 (00:09 +1100)
source/blender/editors/transform/transform_generics.c

index 6e64697cd90822f47ced5b1a3e19750a42ffbead..b57941c2f1f299fa254ffbc3c7cd6c3b43fed14b 100644 (file)
@@ -1113,6 +1113,8 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
        
        if (event) {
                t->event_type = event->type;
+               t->mouse.imval[0] = event->mval[0];
+               t->mouse.imval[1] = event->mval[1];
        }
        else {
                t->mouse.imval[0] = 0;