7458 Commits

Author SHA1 Message Date
Gaspar Capello
980454eac0 Fix brush symmetry
Prior to this fix, asymmetric brushes weren't reflected, instead the brush was simply moved to a mirrored position.
2021-01-15 12:15:16 -03:00
David Capello
2be11cf2f5 Fix ASSERT deleting a backup session on start when there is no UI
This can happen if the session folder cannto be deleted e.g. when the
folder is not empty (for example if we've copied/created a file in the
session folder manually).
2021-01-15 11:43:07 -03:00
David Capello
ffbe4863ca Minor fix in coding style guide 2021-01-14 12:45:32 -03:00
David Capello
090743155b Merge branch 'css-export' 2021-01-05 15:03:09 -03:00
David Capello
ee07df6a26 CSS output without vars by default 2021-01-05 15:02:12 -03:00
David Capello
b1016a419f Minor formatting changes 2021-01-05 14:43:43 -03:00
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
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
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
ca013ff5d8 [lua] Check that some arguments are really strings in make/removeDir 2020-10-22 12:17:49 -03:00
David Capello
14893fbaf8 [lua] Add functions to make/remove directories with app.fs 2020-10-22 11:36:52 -03:00
David Capello
661f4897b2 Check that we're in the UI thread when modifying the widgets collection 2020-10-20 12:54:56 -03:00
David Capello
38d1b8a8e2 Fix Flip command labels when assigning shortcuts (fix #2545) 2020-10-17 09:36:36 -03:00
David Capello
6c4621a26a Fix copy & paste of images from GM2 2020-10-13 10:49:26 -03:00
David Capello
51b038ac02 Fix "H" character in mini font (to avoid confusion with "W") 2020-09-29 15:42:55 -03:00
David Capello
732503eb30 Reword and fix some typos in CODING_STYLE guide 2020-09-20 13:16:14 -03:00
David Capello
f44aad06db [lua] Fix Dialog:file{ save=true } so 'save' field must be =true
Before this change if we used Dialog:file{ save=false } it would show
the save version of the dialog, which didn't make sense.
v1.2.25
2020-08-18 08:55:04 -03:00
David Capello
95ce7541e7 Avoid redrawing transformation on each mouse position change (related to #2149) 2020-08-17 17:35:34 -03:00
David Capello
b355f34a70 Export all groups (even collapsed ones) by default in JSON metadata (fix #2484) 2020-08-17 17:14:12 -03:00
David Capello
88f9fbebec Add -DSKIA_LIBRARY flag for laf library in compilation instructions
The SKIA_LIBRARY is filled automatically using find_library() and
SKIA_LIBRARY_DIR, but it looks like somethings it doesn't work and
it's better to just specify the SKIA_LIBRARY directly.
2020-08-17 11:57:05 -03:00
David Capello
f3e9978bb0 [win] Fix pasting 32-bpp images from Firefox
And any app that use DIBV5 format with BI_RGB compression.
2020-08-13 11:02:01 -03:00
David Capello
955d0a9c41 [win] Minor change to call CoInitialize()/CoUninitialize() v1.2.24 2020-08-12 11:16:31 -03:00
David Capello
6987a15986 Update submodules 2020-08-12 11:16:16 -03:00
David Capello
282b040b52 [win] Fix copy & paste 32bpp images w/alpha channel from/to some Windows programs
More information:
https://steamcommunity.com/app/431730/discussions/0/1846946102842809327/
2020-08-11 19:30:39 -03:00
Gaspar Capello
d701ef9ffd Fix replace current pallete does not create a palette (fix #2480) 2020-08-11 10:19:37 -03:00
David Capello
ddee4dc0b9 Fix start playing animation on preview window when adding/removing frames (fix #2481) 2020-08-11 08:45:30 -03:00
David Capello
bbfa023b30 Fix crash adding new frames when there are tags present v1.2.23 2020-08-04 22:39:54 -03:00
David Capello
d93264c895 Fix opening files from CLI with new OpenBatchOfFiles utility v1.2.22 2020-08-04 18:22:37 -03:00
David Capello
14fbee19f0 Fix cli_tests when Strings is not available 2020-08-04 18:11:18 -03:00
David Capello
893c8cbe32 Fix minor issues redrawing auto cel guides on Editor
E.g. We could open a (foreground) dialog (e.g. New File), and move the
window, and press the Ctrl key to show the auto-guides (or released it
to hide the auto-guides) for new painted areas of the Editor. This
patch fixes that bug.
2020-08-04 16:29:22 -03:00
David Capello
6862bb8ab0 Fix opening several times the "save changes" alert (fix #2467)
This could happen if we clicked the cross icon in tabs without moving
the mouse.
2020-08-04 15:09:33 -03:00
David Capello
819517b941 Fix reported crash in MovingPixelsState::onUpdateStatusBar()
This should be enough to fix a crash reported where we receive a
onUpdateStatusBar() when m_pixelsMovement is already deleted. It's
called from onLeaveState() when we call notifyGeneralUpdate() which
generates a scroll change and finally updates the status bar.

Crash report: https://igarastudio.zendesk.com/agent/tickets/1239
2020-08-04 11:12:57 -03:00
David Capello
d7a3da9518 Fix crash using opacity slider on CelProperties after deleting a cel
Crash report: https://igarastudio.zendesk.com/agent/tickets/1208
2020-08-04 10:42:28 -03:00
David Capello
430b493e89 Don't show brush edges in BrushPreview::FULLALL when we're in DrawingState
Fixes issue from 8b6116911d0813694fed3859a09b9d5f4a470dd4
2020-08-03 20:13:34 -03:00
David Capello
49c4534a95 Fix isometric lines when snap angle + from center modifiers are used 2020-08-03 20:09:56 -03:00
David Capello
b95f96f645 Don't use fixes for line brush when the brush size = 1 2020-08-03 20:07:25 -03:00
David Capello
7355d0e2db Add minor checks of .ase header 2020-08-03 17:33:15 -03:00