lottie: properly copy missing property values

This commit is contained in:
Hermet Park 2025-02-14 00:48:40 +09:00 committed by Mira Grudzinska
parent 1354613d59
commit 7a1df343cc

View file

@ -265,6 +265,7 @@ struct LottieGenericProperty : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieGenericProperty() ~LottieGenericProperty()
@ -519,6 +520,7 @@ struct LottieColorStop : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieColorStop() ~LottieColorStop()
@ -775,6 +777,7 @@ struct LottieTextDoc : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieTextDoc() ~LottieTextDoc()
@ -888,6 +891,7 @@ struct LottieBitmap : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieBitmap() ~LottieBitmap()