Fix #94080: clicking empty space in timeline creates undo step #105913

Open
Melissa-Goon wants to merge 7 commits from Melissa-Goon/blender:my-feature into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}