From d98aeab2c60bc20874c677b0de8f0dc9e973523c Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Sat, 1 Jan 2022 15:59:35 -0800 Subject: [PATCH] Fix code generation for imnodes. --- src/CodeGenerator/TypeInfo.cs | 2 +- src/ImNodes.NET/Generated/ImNodes.gen.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CodeGenerator/TypeInfo.cs b/src/CodeGenerator/TypeInfo.cs index de90495..8b68be1 100644 --- a/src/CodeGenerator/TypeInfo.cs +++ b/src/CodeGenerator/TypeInfo.cs @@ -96,7 +96,7 @@ namespace CodeGenerator { "ImPlotAxisFlags_NoGridLines", "ImPlotAxisFlags.NoGridLines"}, { "ImGuiCond_Once", "ImGuiCond.Once"}, { "ImPlotOrientation_Vertical", "ImPlotOrientation.Vertical"}, - { "PinShape_CircleFilled", "PinShape._CircleFilled"}, + { "PinShape_CircleFilled", "PinShape.CircleFilled"}, { "ImGuiPopupFlags_None", "ImGuiPopupFlags.None"}, { "ImGuiNavHighlightFlags_TypeDefault", "ImGuiNavHighlightFlags.TypeDefault"}, { "ImGuiKeyModFlags_Ctrl", "ImGuiKeyModFlags.Ctrl"}, diff --git a/src/ImNodes.NET/Generated/ImNodes.gen.cs b/src/ImNodes.NET/Generated/ImNodes.gen.cs index 837bdeb..686b649 100644 --- a/src/ImNodes.NET/Generated/ImNodes.gen.cs +++ b/src/ImNodes.NET/Generated/ImNodes.gen.cs @@ -10,7 +10,7 @@ namespace imnodesNET { public static void BeginInputAttribute(int id) { - PinShape shape = PinShape._CircleFilled; + PinShape shape = PinShape.CircleFilled; imnodesNative.imnodes_BeginInputAttribute(id, shape); } public static void BeginInputAttribute(int id, PinShape shape) @@ -31,7 +31,7 @@ namespace imnodesNET } public static void BeginOutputAttribute(int id) { - PinShape shape = PinShape._CircleFilled; + PinShape shape = PinShape.CircleFilled; imnodesNative.imnodes_BeginOutputAttribute(id, shape); } public static void BeginOutputAttribute(int id, PinShape shape)