From 7073962810e07cec1feb499392416b087051a433 Mon Sep 17 00:00:00 2001 From: Turanszki Janos Date: Tue, 26 Dec 2023 07:57:48 +0100 Subject: [PATCH] editor fix: filter all will always display everything, even custom component types --- Editor/OptionsWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Editor/OptionsWindow.cpp b/Editor/OptionsWindow.cpp index 61291df91..39ceddbd7 100644 --- a/Editor/OptionsWindow.cpp +++ b/Editor/OptionsWindow.cpp @@ -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;