diff --git a/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs b/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs index 072491c5a..61464ad77 100644 --- a/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs +++ b/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs @@ -182,7 +182,7 @@ namespace FlaxEditor.SceneGraph.GUI _highlights?.Clear(); isThisVisible = true; } - else if (filterText.Contains(',')) + else if (filterText.Contains(':')) { var splitFilter = filterText.Split(','); var hasAllFilters = true; diff --git a/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.cpp b/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.cpp index 7a504c93f..c43cab271 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.cpp +++ b/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.cpp @@ -153,10 +153,10 @@ VkCompareOp RenderToolsVulkan::ComparisonFuncToVkCompareOp[9] = #if GPU_ENABLE_RESOURCE_NAMING -void RenderToolsVulkan::SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const String& name) +void RenderToolsVulkan::SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const StringView& name) { #if VK_EXT_debug_utils - auto str = name.ToStringAnsi(); + StringAsANSI<> str(name.Get(), name.Length()); SetObjectName(device, objectHandle, objectType, str.Get()); #endif } diff --git a/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.h b/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.h index 82167fd6c..d359442f4 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.h +++ b/Source/Engine/GraphicsDevice/Vulkan/RenderToolsVulkan.h @@ -35,7 +35,7 @@ private: public: #if GPU_ENABLE_RESOURCE_NAMING - static void SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const String& name); + static void SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const StringView& name); static void SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const char* name); #endif diff --git a/Source/ThirdParty/fmt/format.h b/Source/ThirdParty/fmt/format.h index cbe41b32f..d75310ece 100644 --- a/Source/ThirdParty/fmt/format.h +++ b/Source/ThirdParty/fmt/format.h @@ -37,6 +37,7 @@ #include #include #include +#include #include "core.h"