David Capello
3f3928cdf2
Fix invalid var name
2020-03-06 15:32:40 -03:00
David Capello
1fe3c3a4bc
Add a number to each new slice that is created (related to #1651 )
2020-03-06 15:18:10 -03:00
David Capello
99cb95357a
Add support to send crash reports from macOS
2020-03-06 14:45:13 -03:00
Josh Soref
e80dfbbdaf
Fix typos in README file ( #2177 )
2020-03-02 23:33:36 -03:00
David Capello
b106e2c717
Update clip module
2020-03-02 23:09:19 -03:00
David Capello
302dcdc7cf
Fix Shift+Enter to play animation in Preview window ( fix #2249 )
2020-03-02 14:49:38 -03:00
David Capello
062ae58d9e
We need to specify the C and C++ flags for our project anyway (undo 00fa2545739956009d8476936fa0e39e02e3a91b)
2020-03-02 11:36:53 -03:00
David Capello
00fa254573
Move C and C++ flags override to laf library
2020-03-02 10:55:51 -03:00
David Capello
d86bbcc78d
Update minimum version of compilers/platforms
2020-03-02 10:55:20 -03:00
David Capello
95b655168c
Use new laf + skia m81 branch
...
* Some minor refactors due laf changes.
* Updated the instructions to compile Aseprite linking to external
skia instructions and pre-built packages.
2020-03-01 23:42:08 -03:00
David Capello
eaa2dd14b6
Update submodules
2020-02-27 12:15:41 -03:00
David Capello
817c6e361f
Fix crash closing/reopening sprites when "keep closed sprite data in memory" is disabled
2020-02-27 12:02:01 -03:00
David Capello
e3f28acf9e
Fix deleting docs from memory when "keep closed docs alive" is disabled & the backup on disk is enabled
2020-02-27 11:32:18 -03:00
David Capello
f0e60d2068
Fix crashes using MaskByColor command after we cannot lock the sprite
...
If ContextWriter thrown an exception (i.e. we cannot lock the sprite
for writing purposes), the "Mask by Color" ui::Window would persist
with its signal slots, and it creates an unstable scenario where color
change signals are generated from sliders and crashes the program
because we were using a deleted ContextReader variable which was
stored in the stack in MaskByColorCommand::onExecute().
2020-02-26 12:49:23 -03:00
David Capello
5cd23b8522
Fix moving 9-slices rules (regression introduced in 73de6c8b1d8825ad31619bb45397f1ed74baf500)
2020-02-25 15:25:36 -03:00
David Capello
53cb226f09
Fix crash using Flatten Visible when the active layer is a child of a group
2020-02-25 14:12:20 -03:00
David Capello
ffcd4983c1
Add support to recover tilemaps/tilesets from backup data
2020-02-21 17:17:39 -03:00
Gaspar Capello
54bb39a9d3
Fix tile mode glitch with image brushes
...
This fix solves u,v set calculation when 'image brush' are used.
The cause of this bug is that we considered the set m_u, m_v as constants.
We have several cases when we are working on X axis:
- Scanline entirely contained in a tile, but OUTSIDE of the reference tile.
- Scanline entirely contained in a tile, but INSIDE of the reference tile.
- The left side of a scanline which was sliced (by the tile limit).
- The right side of a scanline which was sliced (by the tile limit).
Each one has its own m_u, so we need to recalculate it before every loop->getInk()->inkHline(...).
We have to take similar considerations when we are working in the Y axis.
We need recalculate m_v according if 'y+scanline.y' is INSIDE or OUTSIDE of the reference tile, each case has its own m_v.
Bug reports:
* https://community.aseprite.org/t/1183
* https://community.aseprite.org/t/4695
2020-02-20 16:01:12 -03:00
David Capello
3e0a3d6f61
Re-hash the tileset hash table lazily
2020-02-18 11:11:05 -03:00
David Capello
9973258618
Fix bug moving tiles out of the tileset range
2020-02-18 10:30:34 -03:00
David Capello
75f7346ef6
Rehash the Tileset hash tablet when we remap/move tiles
2020-02-17 18:09:48 -03:00
David Capello
21fa63da76
Fix Manual mode when we touch the same tile in different locations
...
This also fixes the re-hashing of the internal Tileset hash table when
a tile is modified.
2020-02-17 16:47:27 -03:00
David Capello
776b7862d3
Add Space+N/Tab/1,2,3 to handle tilemap modes
...
* Space+N to create new tilemaps
* Space+Tab to switch the tileset visibility
* Space+1,2,3 to change to manual/auto/stack tileset modes
2020-02-17 16:36:18 -03:00
David Capello
d0f9429d03
Integrate the TilesetHashTable inside the same Tileset
2020-02-17 09:06:02 -03:00
David Capello
736e119440
Don't create an empty cmd::CopyRegion()
...
This might happen when we double-click some tiles outside the tilemap region.
2020-02-17 09:06:02 -03:00
David Capello
000e22f4d5
Fix invalid entries selected after resizing tileset
2020-02-17 09:06:02 -03:00
David Capello
e6e644707a
Fix Alt+mouse movement to snap the selection movement in the tilemap layer grid
2020-02-17 09:06:02 -03:00
David Capello
3789b5f21c
Fix crash when we delete the ColorBar
...
The order in which of widgets are deleted is important because
children must be deleted before (so they are removed from parents and
we avoid double frees/deletes).
2020-02-17 09:06:02 -03:00
David Capello
e792d4e078
Add possibility to move tiles w/drag and drop + remap tiles
2020-02-17 09:06:02 -03:00
David Capello
8db5b3fb4e
Show keyboard shortcut in the "toggle tiles mode" tooltip
2020-02-17 09:06:02 -03:00
David Capello
05fc4b2cc9
Move color bar tooltips to en.ini file
2020-02-17 09:06:02 -03:00
David Capello
f2abf09bbf
Change TilesetMode names: Manual/Auto/Stack
2020-02-17 09:06:02 -03:00
David Capello
2bb8dc93af
Separate the "Edit Color" button in Color Bar
...
In this way the "Edit Color" switch and the button to toggle
palette/tilesets are aligned.
2020-02-17 09:06:02 -03:00
David Capello
5a8fb9cd67
Fix warning using || and && without parentheses in ASSERT()
2020-02-17 09:06:02 -03:00
David Capello
12becdaf45
Add "external files chunk" to .aseprite files
...
This will be a way to reference the same external file from other file
through IDs (instead of using filenames on each reference).
2020-02-17 09:06:02 -03:00
David Capello
c98c931227
Change tileset chunk format saving the tileset as one image (one big column of tiles)
2020-02-17 09:06:02 -03:00
David Capello
615fa33188
Fix flashing selected layer for tilemaps
...
We've also removed the necessity to create a temporary image for the
flashing effect, so it uses less memory.
2020-02-17 09:06:02 -03:00
David Capello
472861ddd9
Fix eyedropper when picking colors from the top or left edge of a tile (in composition mode)
2020-02-17 09:06:02 -03:00
David Capello
1e5c096236
Display correct grid bounds when using Rectangular Marquee tool on a tilemap layer
2020-02-17 09:06:02 -03:00
David Capello
9f6b18ddb3
A tilemap cannot be a background layer in the first release
2020-02-17 09:06:02 -03:00
David Capello
962ad545ad
Disable merge down for tilemaps (at least for the first version of tilemaps)
2020-02-17 09:06:02 -03:00
David Capello
53cabc3a1d
Add minor asserts/comments
2020-02-17 09:06:01 -03:00
David Capello
4d69106993
Fix crash merging a tilemap layer into a regular layer
2020-02-17 09:06:01 -03:00
David Capello
a6302b91f7
Fix paint bucket and magic wand tools for tilemaps
2020-02-17 09:06:01 -03:00
David Capello
559a244e6a
Fix crash applying a filter to a tilemap in certain cases
2020-02-17 09:06:01 -03:00
David Capello
dde2722ac1
Fix applying a filter in a tilemap (don't displace cel to origin 0,0)
2020-02-17 09:06:01 -03:00
David Capello
40c4c549cd
Always Show the tileset grid when we are in a tilemap layer (even when there is no active cel)
2020-02-17 09:06:01 -03:00
David Capello
99b1474bdf
Don't show tiles controls in color bar by default
2020-02-17 09:06:01 -03:00
David Capello
dfaf01ced4
Show tile value in the status bar
2020-02-17 09:06:01 -03:00
David Capello
92b794d457
Add the final TilesetModes UI: Manual/Semi/Auto
2020-02-17 09:06:01 -03:00