From 0568957e17fc7a577a8d11e3ea04ed97f12ace7f Mon Sep 17 00:00:00 2001 From: Patrick Dawson Date: Wed, 23 Nov 2022 19:50:46 +0100 Subject: [PATCH] beta 6 --- Dear ImGui for Godot Demo.csproj | 2 +- README.md | 2 +- addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dear ImGui for Godot Demo.csproj b/Dear ImGui for Godot Demo.csproj index c4a6c35..3b3d106 100644 --- a/Dear ImGui for Godot Demo.csproj +++ b/Dear ImGui for Godot Demo.csproj @@ -1,4 +1,4 @@ - + net6.0 true diff --git a/README.md b/README.md index 202eb2e..f3b1d94 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ public partial class MyNode : Node ## Getting Started -imgui-godot requires Godot 4.0.beta5 or later, running on a 64-bit platform. +imgui-godot requires Godot 4.0.beta6 or later, running on a 64-bit platform. ### Demo diff --git a/addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs b/addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs index ee7da5c..a5c8348 100644 --- a/addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs +++ b/addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs @@ -230,6 +230,7 @@ public static void Connect(ImGuiLayoutEventHandler d) } } +#if IMGUI_GODOT_DEV // WIP, this will probably be changed or moved public long[] GetImGuiPtrs(string version, int ioSize, int vertSize, int idxSize) { @@ -255,6 +256,7 @@ public long[] GetImGuiPtrs(string version, int ioSize, int vertSize, int idxSize (long)mem_free }; } +#endif private static void OnNodeRemoved(Node node) {