mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 12:34:30 +00:00
lottie: fix a simple mistake.
This commit is contained in:
parent
6077e071d4
commit
684a0140ba
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ static void _updateImage(LottieGroup* parent, LottieObject** child, float frameN
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (picture->load(image->path) != Result::Success) succeed = true;
|
} else if (picture->load(image->path) == Result::Success) succeed = true;
|
||||||
|
|
||||||
if (!succeed) {
|
if (!succeed) {
|
||||||
delete(picture);
|
delete(picture);
|
||||||
|
|
Loading…
Add table
Reference in a new issue