Skip to content

Commit

Permalink
Fix selection not working in animation when in different selection mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed May 27, 2023
1 parent 88a5e3d commit 61a63f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/preview/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,9 @@ class Preview {
}

let select_mode = BarItems.selection_mode.value
if (!Condition(BarItems.selection_mode.condition)) {
select_mode = 'object';
}

if (Toolbox.selected.selectElements && Modes.selected.selectElements && data.type === 'element') {
if (Toolbox.selected.selectFace && data.face) {
Expand Down

0 comments on commit 61a63f9

Please sign in to comment.