David Capello
d35251d431
lua: Add Version() class
2019-04-21 00:04:49 -03:00
David Capello
20618ff321
Ignore errors about signed/unsigned comparison
2019-04-18 22:35:29 -03:00
David Capello
8a821c83fd
lua: Add Brush class and app.useTool{ brush } parameter
2019-04-18 22:33:48 -03:00
David Capello
0bf5d1de30
lua: Add functions to load/save palettes and images directly
2019-04-17 23:59:59 -03:00
David Capello
d24fc0a93a
lua: Add Sprite:flatten()
2019-04-17 15:00:51 -03:00
David Capello
17895dce69
Support MergeDownLayer when ENABLE_UI is not defined
2019-04-17 00:16:52 -03:00
David Capello
a558d432f4
Update laf module
2019-04-17 00:09:44 -03:00
David Capello
dba3f3cdfb
Minor improvement in ChangePixelFormat dialog
...
Moved the progress bar in other at the left of the OK button and the
progress bar appears only if we have to report a progress value > 0
2019-04-17 00:07:33 -03:00
David Capello
9746a30564
Convert place field of outline command into a ButtonSet
2019-04-16 18:12:07 -03:00
David Capello
266352cfec
Use fgColor by default on Outline filter always
2019-04-16 17:55:31 -03:00
David Capello
8551fbda26
Add possibility to select any matrix to run the OutlineFilter
2019-04-16 17:54:42 -03:00
David Capello
be74710067
Fix flicker issues on Windows moving the BrushPreview
2019-04-16 14:22:42 -03:00
David Capello
58e27376bd
Fix OutlineFilter::tiledMode() setter
2019-04-16 12:17:08 -03:00
David Capello
97d54f04c0
Fix warning
2019-04-15 09:26:00 -03:00
David Capello
69a303b126
Add warning when we open new .aseprite files with tilemaps on old versions
2019-04-15 09:25:38 -03:00
David Capello
0a27425d77
Add possibility to play animation with the Enter Pad key
2019-04-13 18:14:29 -03:00
David Capello
11c8ba3605
Fix merging down linked layers ( https://community.aseprite.org/t/2894 )
2019-04-13 17:19:29 -03:00
David Capello
ebca165b2a
Add support to modify activeFrame/Layer from scripts without UI
2019-04-13 16:25:21 -03:00
David Capello
8d359dd896
lua: Fix app.activeSprite setter
2019-04-13 11:17:17 -03:00
David Capello
62f6b24b5b
lua: Add Sprite(sprite) to duplicate sprites easily
2019-04-13 11:16:58 -03:00
David Capello
b2e169569a
Merge branch 'spritesheet-fullpath' of https://github.com/kawa-yoiko/aseprite into master
2019-04-12 16:07:54 -03:00
David Capello
43d6867f98
Remove ASSERT() that can fail in Graphics::doUIStringAlgorithm()
2019-04-12 16:03:24 -03:00
David Capello
7f21deb4d5
Fix showing keyboard shortcuts on AniControls tooltips
2019-04-12 13:49:35 -03:00
David Capello
61d1e7c46c
Add Horizontal and Vertical outline options in OutlineCommand
2019-04-11 23:21:14 -03:00
David Capello
84b44a36ea
Improve ui::Theme::drawSlices() performance using os::Surface::drawSurfaceNine()
2019-04-11 22:54:47 -03:00
David Capello
f5000f7414
Fix invalid memory access on cli_tests
...
AppOptions must live as long as CliProcessor.
2019-04-11 15:38:03 -03:00
David Capello
e3f09525db
Refactor the thumbnails generation of cels
...
A new Render::renderCel() method is used to render the specific cel
thumbnail, useful in the future to render thumbnails of different kind
of layers (e.g. future tilemaps). And now the background is rendered
in a different step (so the thumbnails doesn't contain the
background.)
2019-04-11 14:29:20 -03:00
David Capello
59361a3b6d
Minor changes about how aspect ratio is presented on the status bar
2019-04-10 13:51:15 -03:00
David Capello
d161d6936a
Fix debug_tests
2019-04-10 13:33:54 -03:00
David Capello
58fd021c34
Update laf module
2019-04-10 07:06:13 -03:00
David Capello
6ec178aece
Fix call to render::get_sprite_pixel() which needs the clip size with the zoom applied
2019-04-09 16:49:28 -03:00
David Capello
c99ca3093d
Minor changes in BackgroundFromLayer::onExecute() comments
2019-04-05 13:21:47 -03:00
David Capello
c690747bd2
Improve color conversion preview without clearing the old image
...
It is better for continuous preview feedback to keep the old image so
the new preview result is painted above the old one (and there is no
flicker effects).
2019-04-03 21:19:44 -03:00
David Capello
109e6fa205
Add render::Dithering() class to store all dithering parameters
2019-04-03 19:32:24 -03:00
David Capello
fcf272bb69
Add amount parameter to Error Diffusion algorithm
2019-04-03 18:45:18 -03:00
David Capello
e1437a20c3
Fix Floyd-Steinberg error propagation for the 1/16 part
...
This patch fixes the quantization of a complete gray
image (RGB=128,128,128), which must generate a black and white
checkered pattern when the Floyd-Steinberg filter is applied.
Regression from b6d07d995f14e7559b1d92025e74f4ace166324e
2019-04-03 15:02:23 -03:00
David Capello
08ec3767ba
Add support to scan the image in zig-zag way for error diffusion filters
2019-04-03 12:14:17 -03:00
David Capello
02aa8f2205
Fix using UI widgets from background thread on ChangePixelFormat + merge layers checkbox
2019-04-03 11:34:36 -03:00
David Capello
495058e8ff
Save last used dithering algorithm converting RGB -> Indexed
2019-04-03 11:05:54 -03:00
David Capello
b6d07d995f
Fix error diffusion algorithm
...
The error propagation must be limited to 0...255 values, and the new
quantization error must be calculated to that limited value. Also the
1/16 part of the Floyd-Steinberg distribution must be the remaining of
the other parts.
2019-04-02 13:58:55 -03:00
David Capello
c2af88343e
Fix invalid memory access in ErrorDiffusionDither
2019-04-02 00:18:36 -03:00
David Capello
20b8ee0e57
Add Floyd-Steinberg dithering for RGBA -> Indexed conversion
2019-04-01 22:00:32 -03:00
David Capello
c0b4224f32
Fix sprite position after undoing/redoing a move/copy timeline range operation
2019-04-01 20:35:50 -03:00
David Capello
f3bb1ecdf1
Fix regression introduced in ed0f4c3023d8a8b78d04b00177e25a9f5840077d
2019-04-01 19:57:53 -03:00
Gaspar Capello
855c7d8ee3
Improved import sprite sheet dialog (from #1987 )
2019-04-01 16:51:19 -03:00
David Capello
29a4c6f744
Fix accessing to invalid Site object after undoing/redoing
...
Mainly the site.layer() field of the context writer after an undo/redo
is not valid anymore (e.g. because the layer could have been removed).
Now we get the new active site (Context::activeSite()) to go to that
place after the undo/redo operation.
2019-04-01 15:50:59 -03:00
David Capello
ed0f4c3023
Don't access Preferences to do color conversion from bg threads
...
Continuation of 673e1955fa10e8ce643c80f64c439852b543f62a
2019-04-01 15:44:49 -03:00
David Capello
c6fb34ef4a
Don't access newBlend preference from background threads
...
Continuation of 673e1955fa10e8ce643c80f64c439852b543f62a
2019-04-01 15:29:48 -03:00
David Capello
9c98f9c4df
Don't use Preferences to get default slice color in background thread
...
Continuation of 673e1955fa10e8ce643c80f64c439852b543f62a
2019-04-01 15:01:16 -03:00
David Capello
bbd96a23b5
Add some comments for the #1964 fix
2019-04-01 14:31:27 -03:00