1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-03 18:14:01 +00:00

fix possible crash in anim editor

This commit is contained in:
fgenesis 2022-11-13 12:30:03 +01:00
parent 96f28702e4
commit 37cf5134ba

View file

@ -1479,9 +1479,8 @@ void AnimationEditor::updateRenderBorders()
if(renderBorderMode == RENDER_BORDER_NONE)
return;
else
else if(Animation *a = editSprite->getCurrentAnimation())
{
Animation *a = editSprite->getCurrentAnimation();
for(size_t i = 0; i < a->interpolators.size(); ++i)
{
const BoneGridInterpolator& bgip = a->interpolators[i];