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) {