Skip to content

Commit

Permalink
editor fix: filter all will always display everything, even custom co…
Browse files Browse the repository at this point in the history
…mponent types
  • Loading branch information
turanszkij committed Dec 26, 2023
1 parent 7fcd03b commit 7073962
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Editor/OptionsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,9 @@ void OptionsWindow::RefreshEntityTree()

bool OptionsWindow::CheckEntityFilter(wi::ecs::Entity entity)
{
if (filter == Filter::All)
return true;

const Scene& scene = editor->GetCurrentScene();
bool valid = false;

Expand Down

0 comments on commit 7073962

Please sign in to comment.