Fix T44282: Image sampling line disappears after a while
Now even to master
This commit is contained in:
parent
883663a0ad
commit
bb2300de94
Notes:
blender-bot
2023-02-14 09:16:45 +01:00
Referenced by issue #44282, Image sampling line disappears after a while
|
@ -2609,8 +2609,11 @@ static int image_sample_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
|||
switch (event->type) {
|
||||
case LEFTMOUSE:
|
||||
case RIGHTMOUSE: // XXX hardcoded
|
||||
if (event->val == KM_RELEASE) {
|
||||
image_sample_exit(C, op);
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
break;
|
||||
case MOUSEMOVE:
|
||||
image_sample_apply(C, op, event);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue