Commit Graph

7719 Commits

Author SHA1 Message Date
David Capello
e813773445 Merge branch 'feature-css-export' into css-export 2021-01-05 12:23:57 -03:00
David Capello
d4072fac94 Merge branch 'save-palette-as-preset' 2021-01-05 11:48:57 -03:00
David Capello
d3f3858859 Minor change "save_as_preset" -> "saveAsPreset"
This new camelCase style is prefered since the introduction of the Lua
scripting API.
2021-01-05 11:41:26 -03:00
David Capello
de22d69678 Add FinishLoading signal to ResourcesListBox to detect when the resources were loaded
In this way we avoid using ui::ListBox::Change signal as a
workaround (which is a signal that should be fired only from
ui::ListBox::onChange()).
2021-01-05 11:03:29 -03:00
mezz
78fc63c3f8
Organize the palette load/save menu 2021-01-04 09:53:20 -10:00
mezz
3211831da3
Create and use new signal: PalettePresetsChange 2021-01-04 09:53:20 -10:00
David Capello
4b1e4c67c5 Merge branch 'fix-2564' 2021-01-04 15:55:50 -03:00
David Capello
23559a9b44 Don't generate new slice keyframes when duplicating the sprite (duplicate only the slice keyframes)
Related to #2568
2021-01-04 15:52:56 -03:00
Gaspar Capello
a7419c7813 Fix pen pressure size + symmetry
This fix improves the symmetry drawing when symmetry and the pen pressure size are on.
2020-12-30 16:35:36 -03:00
David Capello
4ae6d12fe0 Regenerate tag bands after resizing a tag 2020-12-30 10:58:16 -03:00
David Capello
96a1c98dfe Add missing #include to use Strings 2020-12-30 10:58:05 -03:00
David Capello
ed8ef5dbd7 Add support to resize tags with drag & drop
This idea was originally planned but never implemented. Requested
several times after tags were introduced:

https://github.com/aseprite/aseprite/issues/1275
https://github.com/aseprite/aseprite/issues/1875
https://community.aseprite.org/t/drag-to-resize-tag/3619
2020-12-30 10:25:37 -03:00
mezz
be48c40dc5
Reload palette popup and refresh search results when saving a new preset 2020-12-29 20:45:37 -10:00
mezz
98a0bcb2d7
Add palette option to save as preset
This works the same as saving a palette normally, but opens the file dialogue to the default palette preset directory.
2020-12-29 19:56:02 -10:00
David Capello
91628daa9d Merge branch 'master' into beta 2020-12-22 15:48:15 -03:00
Gaspar Capello
5d70ba46a3 Add documentation about Sprite User Data 2020-12-17 10:42:32 -03:00
Gaspar Capello
31ae8383fb Fix data recovery about sprite user data 2020-12-17 09:02:51 -03:00
David Capello
569ff7ed7c Add comment why doc::Sprite::sprite() member function was added 2020-12-16 12:40:24 -03:00
Gaspar Capello
54ae195159 [lua] Add support to sprite user data 2020-12-16 12:40:21 -03:00
Gaspar Capello
116201d8a1 Add custom data to Sprite Properties Window (fix #1306) 2020-12-16 12:40:05 -03:00
David Capello
21e893162d Add possibility to hold tool modifiers when we start drawing on kMouseDownMessage (fix #2537)
E.g. In this way we can press the Shift modifier, then press the mouse
button to start drawing successive straight lines with the angle
snapped (so there is no need to release/press the Shift modifier again
and again).
2020-12-14 14:49:16 -03:00
David Capello
81d9e8afec Fix bug with Console when the UI Screen Scaling is changed 2020-12-11 15:52:14 -03:00
David Capello
c0ac9208ff Fix layer name for new sprites to match the translation in new layer (fix #2549) 2020-11-27 19:27:13 -03:00
David Capello
85e51abcaa Minor changes about old "layer set" -> "layer group" 2020-11-27 19:26:18 -03:00
sumibi-yakitori
25ca9e4a13 Add duplicate slices 2020-11-23 16:41:14 +09:00
David Capello
6f9f6006cc Update laf to compile with ENABLE_UI=off 2020-11-13 12:05:07 -03:00
David Capello
76f3b96603 Don't select separators in comboboxes (recent folders separator, etc.) 2020-11-13 11:13:33 -03:00
David Capello
26b75bdb57 Add option to specify/modify the tileset name 2020-11-10 17:48:09 -03:00
David Capello
0cf28840b5 Don't show tileset button in Layer Properties when it's open for a regular layer 2020-11-09 19:45:04 -03:00
David Capello
5d77b885a1 Minor fix to tiles button 2020-11-09 19:29:35 -03:00
David Capello
eb60ebb2a1 Show color palette/tileset at the same time 2020-11-09 19:29:14 -03:00
Gaspar Capello
08f63f1b02 Fix cel and layer user data text input do not update when a fast layer change happen. 2020-11-05 18:42:32 -03:00
David Capello
db80c2a07e Real-time preview when editing tilemaps in Manual mode
In this way we can see the changes to all instances of the same tile
in the tilemap in real-time. The preview is done through a new
"preview tileset" that is used in the render concept (instead of the
preview image, a preview tileset is used as a temporal tileset to be
used for preview purposes only).
2020-11-04 16:54:12 -03:00
David Capello
4d6f4434cd Remove unused flag ExpandCelCanvas::UseModifiedRegionAsUndoInfo 2020-11-03 20:47:13 -03:00
David Capello
d73a67dde7 Revert "Swap "auto" mode to first place (Space+1) and "manual" to Space+2"
This reverts commit 2d0227e8b2.
2020-11-03 19:02:44 -03:00
David Capello
15541412a4 Fix Ctrl+click to pick tilemaps correctly using the tile pixels
Before this we picked tilemaps only by bounds of the cel.
2020-11-02 18:53:24 -03:00
David Capello
1c6660e964 Add missing file tileset_selector_window.xml 2020-10-30 21:20:33 -03:00
David Capello
2501f5aa3c Fix tile button with negative base index 2020-10-30 21:14:31 -03:00
David Capello
505aa6119a Add option to change the "base index" from the layer properties 2020-10-30 21:11:58 -03:00
David Capello
a3286fc20a Minor refactor "first visible index" -> "base index" 2020-10-30 20:58:45 -03:00
David Capello
c2e5e69882 Simplify tilesets impl using tile index 0 = an empty tile
In this way we always have an empty tile available in the drawing
process. We've also added the Tileset::firstVisibleIndex field to
change the visible index of the tile 1 so we can offset the visible
number by the user (just as a visual aid / simulate old tilesets with
index=0=non-empty tile).
2020-10-30 16:33:34 -03:00
David Capello
9113a690f0 Fix crash duplicating tilemap layers 2020-10-26 19:56:56 -03:00
David Capello
114387483f Show "Remap Tiles" button after the tileset is resized 2020-10-26 18:47:09 -03:00
David Capello
394b8bb2aa Fix clearing/cutting several tiles at the same time from the tileset 2020-10-26 18:45:21 -03:00
David Capello
2d0227e8b2 Swap "auto" mode to first place (Space+1) and "manual" to Space+2 2020-10-26 17:58:01 -03:00
David Capello
4db4e77c78 Fix crash deleting all tiles from tileset and remapping 2020-10-26 17:00:05 -03:00
David Capello
7f487c1294 Fix comparison of layer flags between backup and sprite on memory 2020-10-23 17:20:11 -03:00
David Capello
0b4e24b29d Draw icon for tilemap layers in the tilemap 2020-10-23 17:19:56 -03:00
David Capello
3e55928d41 Fix crash clicking in the PaletteView area with an empty tileset 2020-10-23 16:07:54 -03:00
David Capello
f416d0c356 Color adjustments to dark theme by Nicolas Desilets 2020-10-23 15:44:24 -03:00