prevent mouse selection of hidden objects

This commit is contained in:
Stewart Allen 2022-01-16 00:55:28 -05:00
commit d8ff1e0479
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ let toggle = {
let selection = {
// @returns {MeshObject[]} or all groups if not strict and no selection
list(strict = false) {
return selected.length || strict ? selected.slice() : groups.slice();
return selected.length || strict ? selected.slice() : groups.slice();
},
// return selected groups + groups from selected models