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