mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[ue] Add missing default initializer to FSpineEvent, closes #2821
This commit is contained in:
parent
4d63de47e4
commit
878a658ea9
@ -41,6 +41,8 @@ struct SPINEPLUGIN_API FSpineEvent {
|
|||||||
GENERATED_BODY();
|
GENERATED_BODY();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
FSpineEvent() : IntValue(0), FloatValue(0.0f), Time(0.0f) {}
|
||||||
|
|
||||||
void SetEvent(spine::Event *event) {
|
void SetEvent(spine::Event *event) {
|
||||||
Name = FString(UTF8_TO_TCHAR(event->getData().getName().buffer()));
|
Name = FString(UTF8_TO_TCHAR(event->getData().getName().buffer()));
|
||||||
if (!event->getStringValue().isEmpty()) {
|
if (!event->getStringValue().isEmpty()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user