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:
parent
96f28702e4
commit
37cf5134ba
1 changed files with 1 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue