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