David Capello
262b8abc90
Temporal fix for filling polygons (at least with regular brushes)
2019-05-08 12:50:30 -03:00
David Capello
87f86ee96c
Update laf module
2019-05-08 12:50:14 -03:00
David Capello
dd8a49a19c
Add option to disable changing the display color profile depending on the current monitor
2019-05-08 10:55:56 -03:00
David Capello
dd405fa26d
Eliminate warning about using a type from an anonymous namespace from another type from a non-anonymous namespace
2019-05-07 15:03:15 -03:00
Gaspar Capello
6afd31698f
Fix center of eraser edges is wrong
2019-05-07 10:47:31 -03:00
David Capello
0c6e8de9e5
Double-click opens the slice properties dialog w/Slice tool
2019-05-07 10:33:05 -03:00
David Capello
e8716cbb6e
Improve context bar for slice tool (combobox of slices + action buttons)
2019-05-07 10:28:37 -03:00
David Capello
33dc3fd354
Update slice tool shortcut to Shift+C and change ScrollCenter to Shift+Z
2019-05-06 14:16:28 -03:00
David Capello
48450ac79d
Add info about TRACEARGS() in src/README.md
2019-05-06 14:15:44 -03:00
David Capello
5d7d01ac49
Update observable module
2019-05-06 14:15:25 -03:00
David Capello
398d1099fc
Update submodules laf and observable
2019-05-03 10:23:14 -03:00
David Capello
74649cf87b
Value stored but never read
2019-05-03 10:13:00 -03:00
David Capello
4004f7be65
Update to new gfx::Region API
2019-05-03 10:03:39 -03:00
David Capello
97345f4866
Add ENABLE_CLANG_TIDY option
2019-05-03 09:34:02 -03:00
David Capello
86d38d81b0
Avoid warning about missing "override"
2019-05-02 16:27:34 -03:00
David Capello
73de6c8b1d
Add ability to edit multiple slices
...
Related to #721 and #1651 , still need more work to give a better UX to
edit static and animated slices.
2019-05-02 16:26:13 -03:00
David Capello
40957c196f
Minor refactor adding ToolLoop::onSliceRect()
2019-04-30 16:42:15 -03:00
David Capello
951fb7c357
Fix invalid scroll on ui::View after changing required size of attached widget (regressiong introduced in b4eb7a0ccd
)
2019-04-30 13:51:41 -03:00
David Capello
71046b6042
Update laf module
2019-04-30 13:12:06 -03:00
David Capello
eed5f98b75
Minor changes in ui::View
2019-04-30 09:54:01 -03:00
rscotchmer
a08cfa9e13
Added support for 4 and 8 connected pixel fill method in paint bucket
2019-04-29 23:29:17 -03:00
David Capello
39d229b0e9
Merge branch 'act-palette' of https://github.com/SupSuper/aseprite into master
2019-04-29 22:39:18 -03:00
David Capello
93a858b486
Improve Shift+mouse drag in Canvas Size
...
Change rulers in a symmetric way from the starting ruler positions
instead from the canvas.
2019-04-29 16:33:17 -03:00
David Capello
c7955337c2
Disable Shift+click to draw straight lines when we are in SelectBoxState
2019-04-29 15:50:34 -03:00
David Capello
23ea6a392e
Merge branch 'fix-custom-brush'
2019-04-29 15:35:06 -03:00
David Capello
934c3d45f7
Minor change in IntertwineAsLines::joinStrokes()
2019-04-29 15:34:46 -03:00
David Capello
430c7384e5
Remove the duplicate callback code for algo_line_continuous()
2019-04-29 15:28:21 -03:00
David Capello
e3dcb2b818
Minor changes in Intertwines (add "m_" prefix to member variables)
2019-04-29 15:22:22 -03:00
Gaspar Capello
8b7b62b2d4
Fix contour tool preview with image brush
2019-04-29 10:39:37 -03:00
Gaspar Capello
7bdff92846
Fix first point of line tool is not drawn
2019-04-29 10:39:37 -03:00
Gaspar Capello
c7dfff9b41
Fix straight line while drawing on pixel perfect
2019-04-29 10:39:37 -03:00
David Capello
74b0a70107
Simplify the handling of the filled case of the Contour tool
2019-04-29 10:39:02 -03:00
David Capello
9e0d732959
Reduce the case where we've to invalidate the whole dstImage
2019-04-29 10:39:02 -03:00
Gaspar Capello
b32db39aa2
Fix image brush paintbrush mode is broken (issue 1261)
2019-04-29 10:39:02 -03:00
David Capello
a77543eb2b
Little improvements to brushes
...
- Better center (e.g. 2x2 brushes have the center in 0,0 instead of 1,1)
- Line brushes will always have a pixel in the center
2019-04-29 10:26:19 -03:00
David Capello
f97d76344d
Fix useTool() with images: brushes must be created like when we use the UI, with a mask
2019-04-29 10:25:44 -03:00
David Capello
640800259d
Add possibility to cancel brush creation with Esc key
2019-04-28 21:34:52 -03:00
David Capello
d0962eb737
Fix losing sprite center when we change zoom
...
This issue is pretty common when we change the zoom and the cursor is
outside the canvas, we lost the center of the sprite or the canvas
goes more far and far away. I've seen this problem on streamers and
myself using the program. Hoping to do a little of improvement in this
area with this patch.
2019-04-28 21:27:05 -03:00
David Capello
b768d99743
Check that region to patch/copy on "cmd" is not empty to avoid useless cmds
2019-04-28 21:26:12 -03:00
David Capello
23f00d87f6
lua: Add error if we specify and invalid tool in app.useTool()
2019-04-25 16:33:49 -03:00
David Capello
b2df59563b
lua: Add __eq function to Image metatable to compare image IDs
2019-04-25 16:32:36 -03:00
David Capello
0264964c4e
lua: Add app.preferences object
2019-04-24 21:14:20 -03:00
David Capello
ad1a0af752
lua: Add a way to set/get the default app palette (and well-known palettes from resources)
2019-04-24 19:08:25 -03:00
David Capello
5cf762c9cf
lua: Fix app.useTool() tests when we run in batch/non-UI mode
...
* Tools must use the default configuration when we run in -batch mode
* Fixed app_get_current_pixel_format() when ENABLE_UI is disabled so
the color= parameter of app.useTool{} depends on the activeSprite
color mode
2019-04-24 18:31:43 -03:00
David Capello
e8a057a334
Don't generate cmd::CropCel() if it isn't necessary
2019-04-24 17:31:06 -03:00
Gaspar Capello
6f72666330
Restore brush pattern correctly from user preferences
2019-04-24 16:12:01 -03:00
David Capello
a2d9f3fc76
Fix crash changing states from Undo History window when we've removed layers
2019-04-24 10:17:12 -03:00
David Capello
e197a8670c
Add an option to trim areas outside the canvas bounds on Sprite > Canvas Size ( fix #1111 )
2019-04-23 14:40:26 -03:00
David Capello
bbba80c809
Modify Canvas Size to be more "tool like" (easier to change the edges size, C keyboard shortcut)
2019-04-22 15:57:45 -03:00
David Capello
af0b700a6d
Fix typo in comment
2019-04-22 09:05:33 -03:00