mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
lottie: properly copy missing property values
This commit is contained in:
parent
305da05b1b
commit
a3481571c8
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue