diff --git a/Extern/Pipe b/Extern/Pipe index e961abee..bce1f9a7 160000 --- a/Extern/Pipe +++ b/Extern/Pipe @@ -1 +1 @@ -Subproject commit e961abeef6fce754860400ccac25d219ed0f7ac6 +Subproject commit bce1f9a70fd2e0f650de7ca5a763bad95effd047 diff --git a/Libs/AST/Include/AST/Components/CModule.h b/Libs/AST/Include/AST/Components/CModule.h index 26f409e7..fe2bf980 100644 --- a/Libs/AST/Include/AST/Components/CModule.h +++ b/Libs/AST/Include/AST/Components/CModule.h @@ -28,7 +28,7 @@ namespace rift::ast P_PROP(target) RiftModuleTarget target = RiftModuleTarget::Executable; - P_PROP(dependencies) + P_PROP(dependencies, p::PF_Edit) p::TArray dependencies; }; } // namespace rift::ast diff --git a/Libs/AST/Include/AST/Components/CNamespace.h b/Libs/AST/Include/AST/Components/CNamespace.h index 1b2ddb53..78b55066 100644 --- a/Libs/AST/Include/AST/Components/CNamespace.h +++ b/Libs/AST/Include/AST/Components/CNamespace.h @@ -11,7 +11,7 @@ namespace rift::ast { P_STRUCT(CNamespace) - P_PROP(name); + P_PROP(name, p::PF_Edit); p::Tag name; diff --git a/Libs/Editor/Src/Tools/MemoryDebugger.cpp b/Libs/Editor/Src/Tools/MemoryDebugger.cpp index 4ea66ff6..803a9958 100644 --- a/Libs/Editor/Src/Tools/MemoryDebugger.cpp +++ b/Libs/Editor/Src/Tools/MemoryDebugger.cpp @@ -4,6 +4,7 @@ #include #include +#include #include #include #include @@ -32,7 +33,7 @@ namespace rift::editor if (UI::Begin("Memory", &open)) { String label; - auto* stats = GetHeapStats(); + auto* stats = GetHeapArena().GetStats(); UI::Text(Strings::Format("Used: {}", Strings::ParseMemorySize(stats->used))); if (UI::BeginChild("Allocations")) diff --git a/Libs/UI/Include/UI/Widgets.h b/Libs/UI/Include/UI/Widgets.h index 6cf61698..1da1ad13 100644 --- a/Libs/UI/Include/UI/Widgets.h +++ b/Libs/UI/Include/UI/Widgets.h @@ -113,9 +113,6 @@ namespace rift::UI bool MutableText(p::StringView label, p::String& text, ImGuiInputTextFlags flags = 0); - void HelpTooltip(p::StringView text, float delay = 1.f); - void HelpMarker(p::StringView text); - bool DrawFilterWithHint(ImGuiTextFilter& filter, const char* label = "Filter (inc,-exc)", const char* hint = "...", float width = 0.0f); diff --git a/Libs/UI/Src/Inspection.cpp b/Libs/UI/Src/Inspection.cpp index 61f5d3a1..10762a51 100644 --- a/Libs/UI/Src/Inspection.cpp +++ b/Libs/UI/Src/Inspection.cpp @@ -242,11 +242,11 @@ namespace rift::UI if (p::HasTypeFlags(type, p::TF_Struct)) { - void* instance = handle.GetPtr(); - p::TView properties = p::GetTypeProperties(type); - for (const auto& prop : properties) + void* instance = handle.GetPtr(); + p::TView properties = p::GetTypeProperties(type); + for (const auto* prop : properties) { - InspectProperty({instance, type, prop}); + InspectProperty({instance, type, *prop}); } } else if (handle.IsArray())