Commit Graph

10051 Commits

Author SHA1 Message Date
Liebranca f612e48966 Revise implementation of isometric 'Snap To' 2025-02-26 14:57:15 -03:00
Liebranca 2322cd02ee Fix isometric 'snap to' for odd grid sizes 2025-02-19 17:25:21 -03:00
Liebranca 4d239f089f Adjust line tool for isometric 'snap to' 2025-02-19 16:27:05 -03:00
Liebranca 156cf0cfcf Implement snap to isometric grid 2025-02-19 14:49:04 -03:00
Liebranca 14b64f341e Add pixel-precise grid for any grid size 2025-02-19 14:39:26 -03:00
Liebranca 0a18e5ffc6 Add persistence and grid offset for isometric 2025-02-19 14:30:48 -03:00
Liebranca 94ddd406af Add pixel-precise isometric grid 2025-02-18 12:42:56 -03:00
Liebranca 35fb6597d4 Implement isometric grid 2025-02-18 12:16:24 -03:00
David Capello 6c69840184 [ci] Update ccache action 2025-02-10 18:06:42 -03:00
David Capello 56651c6bff Mark DitheringMatrix as final (related to b1d7396080) 2025-02-10 17:44:58 -03:00
Martín Capello b1d7396080 Avoid BayerMatrix object slicing 2025-02-10 17:37:57 -03:00
Martín Capello 91b3603193 Add fitCriteria parameter test 2025-02-10 17:37:57 -03:00
Martín Capello 5e40e5544e Refactor and add fitCriteria parameter (fix #4781)
The refactor is about making ChangePixelFormatCommand to inherit from
the CommandWithNewParams class instead of the Command class
2025-02-10 17:37:57 -03:00
Martín Capello 739ae95b34 Set doc format options at single file loading 2025-02-05 14:41:51 -03:00
Martín Capello e65b678e9e Add option to select cel compression (fix #4901) 2025-02-05 14:41:44 -03:00
David Capello 81bd37551b Merge branch 'main' into beta 2025-01-28 10:08:32 -03:00
David Capello bbe656c856 Missing #include to use color_t in get_sprite_pixel() 2025-01-28 10:05:31 -03:00
David Capello bab775393e Update laf module 2025-01-28 09:32:04 -03:00
sharkboi 8d30a18ed5 Refactor "View > Preview > Brush Preview" to be a global option (fix #4876)
Co-authored-by: David Capello <david@igara.com>
2025-01-23 15:16:44 -03:00
Liebranca e66df8da12 Fix skew with pivot on right side of selection (#4823) 2025-01-23 11:45:17 -03:00
Martín Capello d15b585d03 Fix crash applying filters (fix #4928)
The program was crashing when applying a filter that as a result
removed the current cel
2025-01-21 16:30:46 -03:00
David Capello dd654ca2aa Minor change in FilenameField::updateWidgets() logic
Asking for m_entry != nullptr first as it was before.
2025-01-21 16:23:11 -03:00
David Capello 1d3e262576 Remove unnecessary ; at the end of member function definitions 2025-01-21 16:18:52 -03:00
David Capello 5e469e7f33 Merge branch 'show-output-folder' into beta (fix #4483, #4873) 2025-01-21 16:02:51 -03:00
Dominic Bowden 3aa403d597 Fix invalid tileset cache after color remap
Before this fix changing a color palette and then remapping it would not
invalidate a tileset's cache. Immediately saving to the .aseprite format
after this would use the stale cache data instead of the current sprite
data.
2025-01-21 11:44:47 -03:00
Christian Kaiser 2d0143caea Use the environment bash to avoid using bash 3 on macOS 2025-01-18 19:21:13 -03:00
Liebranca 66d827f6b1 Add checkbox to selected option for FilenameField::onBrowse() menu 2025-01-14 12:56:04 -03:00
Liebranca 57fe1e40a9 Add 'basepath' string option to 'Dialog:file{}'
Allows the user to specify which folder the filename is relative to.
2025-01-14 12:52:31 -03:00
Liebranca 45a183945e Add 'edit_full_path' to preferences for FilenameField 2025-01-13 14:04:18 -03:00
Liebranca 0fbaaf3d82 Fix incorrect path displayed on 'Relative To' option 2025-01-13 13:55:00 -03:00
Liebranca ac1231b083 Use FilenameField in ExportSpriteSheetWindow 2025-01-13 13:55:00 -03:00
Liebranca f1d03b12c5 Move 'OutputFile' logic to FilenameField class 2025-01-13 13:54:55 -03:00
David Capello 9779470d0e Update modules 2025-01-10 11:46:42 -03:00
Thorbjørn Lindeijer db4f80ea91 Fixed zlib include dir when Aseprite is used as sub-project
For the Qt "qaseprite" image plugin, we're using Aseprite as git
submodule so that we can link to its laf, dio and render libraries.

In this case, `CMAKE_BINARY_DIR` refers to the build directory of
qaseprite. We need to use `CMAKE_CURRENT_BINARY_DIR` instead, which
always refers to the right location for the generated `zconf.h`.
2025-01-10 11:29:09 -03:00
Liebranca cb5163c742 Add Relative/Absolute path options to ExportFileWindow 2025-01-09 17:11:27 -03:00
David Capello 5e6927ed4e Update laf module 2025-01-09 17:10:11 -03:00
David Capello ee80dddf89 Merge branch 'main' into beta 2025-01-09 16:53:39 -03:00
David Capello e5e1c746a6 Update laf module 2025-01-09 16:50:50 -03:00
David Capello f46ff23b89 Clear selection cursor/eraser brush edges when closing the Editor (fix #4922)
This is a special case where the cursor was still visible on the
screen (the UILayer on the Display) and the Editor/Doc was closed
without any confirmation. So we have to explicitly hide/remove the
UILayer from the Display when the BrushPreview is destroyed.
2025-01-09 12:01:33 -03:00
David Capello 8e3d15584c Reset the window position of FXs too (fix #4921) 2025-01-08 15:49:51 -03:00
David Capello c58cdc9992 [lua] Fix showing real script filename when asking for clipboard access (rather than "internal") 2025-01-08 14:26:27 -03:00
David Capello 1950abc8d8 [lua] Ask for read or write access for the clipboard API 2025-01-08 13:27:42 -03:00
David Capello e7037ac225 [lua] Fix "invalid access request" error using app.fs.makeDirectory() 2025-01-08 13:08:14 -03:00
Christian Kaiser 83a345600f get_script_filename fix, ask_access return value fix 2025-01-08 12:35:20 -03:00
Christian Kaiser 4b2d98506f Renamed "mask" to "selection" for Lua consistency, fixes 2025-01-08 12:35:20 -03:00
Christian Kaiser d7aa121b29 Fix accepting bad arguments, tests, avoid crashing when copying tilesets 2025-01-08 12:35:20 -03:00
Christian Kaiser 4359b835ab Fix test failures (WIP), content error when trying to add image & text 2025-01-08 12:35:20 -03:00
Christian Kaiser 55b3e3c41c Clipboard access check, content 2025-01-08 12:35:20 -03:00
Christian Kaiser 7331398203 Add app.clipboard Lua API 2025-01-08 12:35:20 -03:00
David Capello 7e4607d7fb ShaderRenderer: Fix shader code to render indexed images 2025-01-08 12:18:47 -03:00