From 985c5dc7da9aafe5297823f910224a63406c348a Mon Sep 17 00:00:00 2001 From: Matthias Huerbe Date: Fri, 10 Nov 2017 12:44:09 +0100 Subject: [PATCH] compilefix: OscSettings for production --- OSC/Source/OSC/Private/OscSettings.cpp | 2 ++ OSC/Source/OSC/Private/OscSettings.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/OSC/Source/OSC/Private/OscSettings.cpp b/OSC/Source/OSC/Private/OscSettings.cpp index ab3fc44..ce6b136 100644 --- a/OSC/Source/OSC/Private/OscSettings.cpp +++ b/OSC/Source/OSC/Private/OscSettings.cpp @@ -219,6 +219,7 @@ void UOscSettings::UpdateKeyInputs(UOscDispatcher & dispatcher) } } +#if WITH_EDITOR void UOscSettings::PostEditChangeProperty(FPropertyChangedEvent & PropertyChangedEvent) { static const FName SendTargetsName("SendTargets"); @@ -242,3 +243,4 @@ void UOscSettings::PostEditChangeProperty(FPropertyChangedEvent & PropertyChange Super::PostEditChangeProperty(PropertyChangedEvent); } +#endif diff --git a/OSC/Source/OSC/Private/OscSettings.h b/OSC/Source/OSC/Private/OscSettings.h index ccdd5fc..ee571f5 100644 --- a/OSC/Source/OSC/Private/OscSettings.h +++ b/OSC/Source/OSC/Private/OscSettings.h @@ -62,9 +62,9 @@ public: void ClearKeyInputs(UOscDispatcher & dispatcher); void UpdateKeyInputs(UOscDispatcher & dispatcher); - +#if WITH_EDITOR void PostEditChangeProperty( struct FPropertyChangedEvent& PropertyChangedEvent) override; - +#endif public: enum class ParseOption