From f67cabbe93cccbe5f9be683cd2061cbe76769920 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 6 Nov 2018 18:57:21 +0000 Subject: [PATCH] Fixed IntelliSense errors caused by wrongly formatted macro definitions in build script file. --- Source/ImGui/ImGui.Build.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/ImGui/ImGui.Build.cs b/Source/ImGui/ImGui.Build.cs index 95e68cc..d2e73b3 100644 --- a/Source/ImGui/ImGui.Build.cs +++ b/Source/ImGui/ImGui.Build.cs @@ -124,7 +124,7 @@ public class ImGui : ModuleRules List PrivateDefinitions = Definitions; #endif - PrivateDefinitions.Add(string.Format("RUNTIME_LOADER_ENABLED = {0}", bEnableRuntimeLoader ? 1 : 0)); + PrivateDefinitions.Add(string.Format("RUNTIME_LOADER_ENABLED={0}", bEnableRuntimeLoader ? 1 : 0)); bool bDrawOnWorldTickStart = (DrawEventsBroadcastMode == EEventsBroadcastMode.OnWorldTickStart); #if WITH_POST_ACTOR_TICK @@ -133,9 +133,9 @@ public class ImGui : ModuleRules bool bDrawOnPostActorTick = false; #endif - PrivateDefinitions.Add(string.Format("DRAW_EVENTS_ON_WORLD_TICK_START = {0}", bDrawOnWorldTickStart ? 1 : 0)); - PrivateDefinitions.Add(string.Format("DRAW_EVENTS_ON_POST_ACTOR_TICK = {0}", bDrawOnPostActorTick ? 1 : 0)); - PrivateDefinitions.Add(string.Format("DRAW_EVENTS_ORDER_WORLD_BEFORE_MULTI_CONTEXT = {0}", + PrivateDefinitions.Add(string.Format("DRAW_EVENTS_ON_WORLD_TICK_START={0}", bDrawOnWorldTickStart ? 1 : 0)); + PrivateDefinitions.Add(string.Format("DRAW_EVENTS_ON_POST_ACTOR_TICK={0}", bDrawOnPostActorTick ? 1 : 0)); + PrivateDefinitions.Add(string.Format("DRAW_EVENTS_ORDER_WORLD_BEFORE_MULTI_CONTEXT={0}", (DrawEventsOrder == EEventsOrder.WorldBeforeMultiContext) ? 1 : 0)); } }