Skip to content

Commit

Permalink
Append Spritesheet Subimages (#391)
Browse files Browse the repository at this point in the history
Do not clear existing subimages of a sprite when adding subimages from a spritesheet. I had intended to do this before because I had changed the label since lgm16b4 to say "Add Spritesheet Subimages" instead of "Load Spritesheet Subimages" and I just never updated the behavior. GM8.1 actually provides both options at the same time under its file menu as "Create from Strip" and "Add from Strip" but I see no reason to bother. If somebody wants to do "create", they can just hit the new button first and then add the spritesheet subimages.
  • Loading branch information
RobertBColton authored Apr 14, 2019
1 parent 7430c7e commit 7114a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion org/lateralgm/main/LGM.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@

public final class LGM
{
public static final String version = "1.8.41"; //$NON-NLS-1$
public static final String version = "1.8.42"; //$NON-NLS-1$

// TODO: This list holds the class loader for any loaded plugins which should be
// cleaned up and closed when the application closes.
Expand Down
2 changes: 1 addition & 1 deletion org/lateralgm/subframes/SpriteFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ public void actionPerformed(ActionEvent e)
}
else if (e.getSource() == loadStrip)
{
addFromStrip(true);
addFromStrip(false);
return;
}
else if (e.getSource() == loadSubimages)
Expand Down

0 comments on commit 7114a6f

Please sign in to comment.