lottie: properly copy missing property values

This commit is contained in:
Hermet Park 2025-02-14 00:48:40 +09:00
parent 305da05b1b
commit a3481571c8

View file

@ -280,6 +280,7 @@ struct LottieGenericProperty : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieGenericProperty() ~LottieGenericProperty()
@ -593,6 +594,7 @@ struct LottieColorStop : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieColorStop() ~LottieColorStop()
@ -771,6 +773,7 @@ struct LottieTextDoc : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieTextDoc() ~LottieTextDoc()
@ -887,6 +890,7 @@ struct LottieBitmap : LottieProperty
{ {
copy(rhs); copy(rhs);
type = rhs.type; type = rhs.type;
ix = rhs.ix;
} }
~LottieBitmap() ~LottieBitmap()