Fix selection not working in animation when in different selection mode

This commit is contained in:
JannisX11 2023-05-27 15:10:50 +02:00
parent 88a5e3dcf7
commit 61a63f90a9

View File

@ -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) {