From 83e14fe45e5672eae1e317d62e53959aa4238b5a Mon Sep 17 00:00:00 2001 From: Vladimir Alyamkin Date: Wed, 9 Jul 2014 03:44:27 +0400 Subject: [PATCH] Editor only functions --- Source/VaQuoleUIPlugin/Classes/VaQuoleUIComponent.h | 3 +++ Source/VaQuoleUIPlugin/Private/VaQuoleUIComponent.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Source/VaQuoleUIPlugin/Classes/VaQuoleUIComponent.h b/Source/VaQuoleUIPlugin/Classes/VaQuoleUIComponent.h index 3990b7e..7e6f8c8 100644 --- a/Source/VaQuoleUIPlugin/Classes/VaQuoleUIComponent.h +++ b/Source/VaQuoleUIPlugin/Classes/VaQuoleUIComponent.h @@ -97,7 +97,10 @@ class UVaQuoleUIComponent : public UActorComponent // Begin UObject Interface virtual void BeginDestroy() OVERRIDE; + +#if WITH_EDITORONLY_DATA virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) OVERRIDE; +#endif // WITH_EDITORONLY_DATA // End UObject Interface diff --git a/Source/VaQuoleUIPlugin/Private/VaQuoleUIComponent.cpp b/Source/VaQuoleUIPlugin/Private/VaQuoleUIComponent.cpp index 3cf1183..addc860 100644 --- a/Source/VaQuoleUIPlugin/Private/VaQuoleUIComponent.cpp +++ b/Source/VaQuoleUIPlugin/Private/VaQuoleUIComponent.cpp @@ -189,12 +189,14 @@ void UVaQuoleUIComponent::UpdateUITexture() } } +#if WITH_EDITORONLY_DATA void UVaQuoleUIComponent::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) { Super::PostEditChangeProperty(PropertyChangedEvent); ResetWebUI(); } +#endif // WITH_EDITORONLY_DATA void UVaQuoleUIComponent::TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) {