Fix #94080: clicking empty space in timeline creates undo step #105913
@ -1770,6 +1770,11 @@ static int mouse_action_keys(bAnimContext *ac,
|
||||
actkeys_find_key_at_position(
|
||||
ac, filter, mval[0], mval[1], &ale, &selx, &frame, &found, &is_selected);
|
||||
|
||||
/* If nothing selected, return #OPERATOR_CANCELLED.*/
|
||||
if (!found && ale == NULL) {
|
||||
ret_value = OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
if (select_mode != SELECT_REPLACE) {
|
||||
wait_to_deselect_others = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user