[ue] Add missing default initializer to FSpineEvent, closes #2821

This commit is contained in:
badlogic 2025-04-23 13:59:54 +02:00
parent 4d63de47e4
commit 878a658ea9

View File

@ -41,6 +41,8 @@ struct SPINEPLUGIN_API FSpineEvent {
GENERATED_BODY();
public:
FSpineEvent() : IntValue(0), FloatValue(0.0f), Time(0.0f) {}
void SetEvent(spine::Event *event) {
Name = FString(UTF8_TO_TCHAR(event->getData().getName().buffer()));
if (!event->getStringValue().isEmpty()) {