Skip to content

Commit

Permalink
#5122: Don't select nodes that aren't visible
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 29, 2020
1 parent 8537bab commit 1f70ccd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions radiant/filters/SetObjectSelectionByFilterWalker.h
Expand Up @@ -27,6 +27,11 @@ class SetObjectSelectionByFilterWalker :

bool pre(const scene::INodePtr& node) override
{
if (!node->visible())
{
return true;
}

// Check entity eclass and spawnargs
if (Node_isEntity(node))
{
Expand Down

0 comments on commit 1f70ccd

Please sign in to comment.