Added mod: AddSprite; Changed: Stability increased for AddFrame and RemoveFrame

This commit is contained in:
quinnvoker
2018-12-27 21:10:33 -08:00
parent aaa80bd654
commit 748d772079
5 changed files with 86 additions and 8 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ using System.ComponentModel;
using QURO;
using QURO.Animation;
using System.Windows.Forms;
using Microsoft.Xna.Framework;
namespace AnimationEditor.Modifications
{
@@ -36,7 +37,7 @@ namespace AnimationEditor.Modifications
if (frameToAdd.Name != "empty" &&
frames.Count == 1 &&
frames[0].Sprites.Count == 1 &&
frames[0].Sprites[0].Name == "empty")
frames[0].Sprites[0].Bounds == Rectangle.Empty)
{
frames.Clear();
}