diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-09 09:18:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-09 09:18:31 +0300 |
commit | 1f9d85f56aace91e7958566c446e079b7f1c21c6 (patch) | |
tree | 6640369b9edc8ea6c9aebc6d24b077ef48837bda /source/blender/editors/transform/transform.c | |
parent | 9416004092c5db4b16e8c3f241f3ae789c8789bc (diff) |
Fix cursor drag failing to use click-start
Error in b8960267dd51f9108b3b49e9b762e6b4d35ae1dc,
the flag was cleared before use.
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 9810f1cb6ad..bb80109d8c9 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -1706,12 +1706,6 @@ bool initTransform(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve t->launch_event = LEFTMOUSE; } - if (options & CTX_CURSOR) { - /* Cursor should always use the drag start as the combination of click-drag to place & move - * doesn't work well if the click location isn't used when transforming. */ - t->flag |= T_EVENT_DRAG_START; - } - unit_m3(t->spacemtx); initTransInfo(C, t, op, event); |