Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Editor only functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ufna committed Jul 8, 2014
1 parent f45fa9b commit 83e14fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/VaQuoleUIPlugin/Classes/VaQuoleUIComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 2 additions & 0 deletions Source/VaQuoleUIPlugin/Private/VaQuoleUIComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 83e14fe

Please sign in to comment.