editor fix: filter all will always display everything, even custom component types

This commit is contained in:
Turanszki Janos
2023-12-26 07:57:48 +01:00
parent 7fcd03b7ab
commit 7073962810
+3
View File
@@ -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;