David Capello
7a534b0a4e
[lua] Add Sprite{ fromFile="...", oneFrame=true } to load just one frame
2020-07-28 17:41:01 -03:00
David Capello
11324c207d
[lua] Minor changes
2020-07-28 17:40:43 -03:00
David Capello
c4ed8c1450
[lua] We cannot detect existent keys with nil in a table (they aren't added to the table)
...
All non-existent keys return nil (and nil keys are not added when the
table is created, so we cannot even iterate the table to search for
keys like "always" or "sRGB"). The only solution is assigning a
non-nil value, e.g. { always=true }, { sRGB=true }, etc.
2020-07-28 17:40:19 -03:00
David Capello
c6b42173cd
Add some checks to BmpFormat::onLoad() to avoid crashing on some invalid .bmp files
2020-07-28 11:36:16 -03:00
David Capello
7656627605
[lua] Fix calling onclose Dialog event when we close the app (fix https://github.com/aseprite/api/issues/28 )
2020-07-28 10:35:38 -03:00
David Capello
2a48c688e2
Fix playback of same tag when adding new frames (fix https://community.aseprite.org/t/6486 )
2020-07-27 18:17:48 -03:00
David Capello
0c0510b3b1
Update laf (don't ask info to wintab when -verbose/-debug mode are disabled)
2020-07-27 17:05:43 -03:00
David Capello
866d614737
[lua] Add "ui" and "bounds" params to CanvasSize (fix https://community.aseprite.org/t/4319 )
2020-07-27 17:04:17 -03:00
David Capello
4dfed179fb
[lua] Fix crash undoing Sprite:newCel() in background layers
2020-07-22 14:19:11 -03:00
David Capello
0bae04f40b
Merge branch 'beta' into tilemap-editor
2020-07-21 17:12:09 -03:00
David Capello
a1a6752adf
Merge branch 'master' into beta
2020-07-21 17:11:01 -03:00
David Capello
0c194adef6
Fix auto cel guides painting of right and lower sides
2020-07-21 16:56:23 -03:00
David Capello
ce06b55894
Receive a ui::Graphics in TransformHandles::drawHandles()
...
Instead of using a ScreenGraphics.
2020-07-21 16:43:36 -03:00
David Capello
06bf7eca2c
Use fmt::format() instead of base::convert_to() on editor.cpp
2020-07-21 16:01:06 -03:00
David Capello
a2e2337b23
Fix Remap::invert() when a tile is moved out of the range
2020-07-20 16:25:36 -03:00
David Capello
9f09fbe01a
Minor change in color_bar.cpp
2020-07-20 16:25:04 -03:00
David Capello
ace6478846
AddTile() with index must increment version of the tileset to save the change in the backup correctly
2020-07-16 19:49:05 -03:00
David Capello
7b7fa29710
Fix copy_tiles_in_tileset() case when the "beforeIndex" is out of range
2020-07-16 19:00:31 -03:00
David Capello
6b43f7ca05
Pick the new tiles after moving/copying them in the tileset
2020-07-16 18:51:12 -03:00
David Capello
a9974e37d3
Publish CopyTiles command with "CopyTiles" ID (instead of "MoveTiles" ID)
2020-07-16 18:48:08 -03:00
David Capello
7f3a34c757
Implement copy_tiles_in_tileset()
2020-07-16 18:47:31 -03:00
David Capello
e9834c4619
Minor change in move_or_copy_palette_colors()
2020-07-16 18:35:14 -03:00
David Capello
fa8cddfae6
Remove the TRACE() by default in Tileset::remap()
2020-07-16 18:34:39 -03:00
David Capello
cd9f95ce98
Minor changes in remap tests
2020-07-15 21:26:41 -03:00
David Capello
8b56ca1094
Fix reading image layers from backup data
2020-07-14 18:50:13 -03:00
David Capello
27e2a287bf
[lua] Add possibility to draw tiles w/app.useTool{ tilemapMode=TilemapMode.TILES... }
2020-07-14 17:27:40 -03:00
David Capello
c86b4a28a6
Fix typo
2020-07-14 17:27:03 -03:00
David Capello
8caef74da6
Merge branch 'beta' into tilemap-editor
2020-07-14 15:35:52 -03:00
David Capello
f7c4016ea5
Update laf modules
2020-07-14 15:34:50 -03:00
David Capello
515dace441
Merge branch 'beta' into tilemap-editor
2020-07-13 17:32:42 -03:00
David Capello
5f747cd0dc
Update laf to fix #1776 through https://github.com/aseprite/laf/pull/20
2020-07-09 11:19:01 -03:00
David Capello
db4504e816
Refactor laf-os memory handling
2020-07-07 19:06:48 -03:00
Gaspar Capello
b7f1555eb3
Fix crash gif decoding
...
Before this fix, it were read memory positions beyond the end of the local colormap in the function GifMakeMapObject.
2020-07-07 16:35:09 -03:00
David Capello
8a3f32b47f
Replace all base::Bind() with lambda functions
2020-07-03 21:51:46 -03:00
David Capello
8582826013
Fix move_tiles_in_tileset
2020-06-30 18:53:14 -03:00
David Capello
d862f9f948
Use tilemap grid (instead of sprite grid) w/selection tools in tile mode
2020-06-29 19:13:21 -03:00
David Capello
723eaf10fa
Don't pick tiles outside tilemap from ColorPicker
2020-06-29 17:54:03 -03:00
David Capello
9420bfff18
Now selection tools select "by tiles" when we are in tile mode
2020-06-29 16:37:14 -03:00
Gaspar Capello
1d68d169a4
Fix old erased pixels were shown again during erase tool usage
2020-06-26 15:03:51 -03:00
David Capello
1f0570c81c
Update Timeline::onPaint() with master branch
2020-06-25 20:10:30 -03:00
David Capello
49ace2b493
Add missing layer to shrink bounds in tilemaps
2020-06-25 19:58:52 -03:00
David Capello
d0ab7d720c
Add support to pick tiles with eyedropper
2020-06-25 19:47:58 -03:00
David Capello
d0c95cf46f
Add possibility to paint with tiles
2020-06-25 19:21:35 -03:00
David Capello
0ceff97e9f
Update laf modules
2020-06-24 21:42:58 -03:00
David Capello
ae02600a63
Add FullscreenMode command ( fix #464 )
2020-06-24 21:34:55 -03:00
David Capello
a3fce6b615
Merge branch 'master' into beta
2020-06-24 21:34:01 -03:00
Gaspar Capello
fbe2f8645d
Fix invalid tileset when number of tiles is 0 opening a file
...
Before this fix, aseprite threw an error: 'Invalid tileset' and delete the Tilemap layer, after it tried to open an aseprite file with a empty tileset on a Tilemap layer.
2020-06-24 16:13:59 -03:00
David Capello
244687ccf7
Fix MinGW section level
2020-06-24 16:01:31 -03:00
David Capello
418cbd3f20
Add information about -DCMAKE_IGNORE_PATH to ignore MinGW
...
Tip from:
https://github.com/aseprite/aseprite/issues/2449#issuecomment-649004147
2020-06-24 16:00:18 -03:00
David Capello
200b0ce73d
Minor change in Windows dependencies
2020-06-24 15:45:26 -03:00