David Capello
80322af02e
Use CityHash for tiles
...
This reduces the level of collisions between hash buckets between
different image tiles.
2021-04-19 15:56:47 -03:00
David Capello
b90c56487d
Merge branch 'main' into beta
2021-04-16 14:13:05 -03:00
David Capello
32b5d20a8d
Update laf module
v1.2.27
2021-04-16 14:01:28 -03:00
David Capello
33db4281e7
Don't activate square aspect when we start a Rectangular Marquee w/Shift modifier
...
Regression introduced in 21e893162d0a529019f75f91f3d7d25e2fdf55f0 to fix #2537
2021-04-16 13:58:12 -03:00
David Capello
ca41785f18
Fix regression: 'Simple Crosshair' mouse cursor dissapears when we switch to Eraser tool
...
Regression introduced in: ef4f691459d13b45459c56383ab3673ca6fbec0a
2021-04-16 12:09:49 -03:00
David Capello
4fe8c93c5c
Fix regression cannot move/resize reference layers
...
Regression introduced in f3ab779bfded7710934cff6b9cc6b596756eccbb
2021-04-16 10:23:35 -03:00
David Capello
14c3cfe393
Fix conversions between layer <-> tilemap when grid origin != 0,0
...
We've changed a restriction for tilesets: grid's in doc::Tileset must
have origin=(0,0); and the origin of a doc::Grid only makes sense for
the sprite grid (where the origin is set by the user) or for a tilemap
cel (where the origin is the cel origin).
2021-04-15 21:26:45 -03:00
David Capello
cdf271af74
Avoid leaks running "gen" when memory sanitizer is enabled
2021-04-15 10:43:17 -03:00
David Capello
5bd83d0c1a
Merge branch 'main' into beta
2021-04-15 10:35:36 -03:00
Gaspar Capello
3093eda958
Fix expandable windows with user data doesn't show correctly
...
Before this fix when we clicked on user data icon (to expand the window and show the user data), the expanded window were displayed incorrectly (some parts black, and other with an incorrent widget size).
2021-04-15 09:56:31 -03:00
David Capello
6dccb1986e
Merge branch 'ccache' into main
2021-04-15 09:45:33 -03:00
Michał Janiszewski
1e24d69db6
Apply suggestions from code review
...
Co-authored-by: David Capello <davidcapello@gmail.com>
2021-04-15 14:29:46 +02:00
Michał Janiszewski
1f7c985735
Install CCache in CI
2021-04-15 11:54:53 +02:00
Michał Janiszewski
593bc8db0e
Add CCache discovery to CMake
2021-04-15 11:51:42 +02:00
David Capello
de68fddbe7
Merge branch 'main' into beta
2021-04-13 19:12:46 -03:00
David Capello
a035f64d8d
Simplify About dialog
v1.2.26
2021-04-13 19:08:33 -03:00
David Capello
a926ca9055
Update cmark module
2021-04-13 18:41:22 -03:00
David Capello
5b3600e261
Cache user.aseprite-brushes path
2021-04-13 16:38:56 -03:00
David Capello
18d5a6e9b5
Update laf module
2021-04-13 16:00:25 -03:00
David Capello
6909b49a70
Merge branch 'main' into beta
2021-04-13 15:48:04 -03:00
David Capello
70e2abaf69
Fix some issues detected with the ThreadSanitizer
2021-04-13 15:35:34 -03:00
Gaspar Capello
a4ae88f307
Fix regression loading tag colors incorrectly from .aseprite files
...
Without this fix we would read old .aseprite files (saved with v1.2)
incorrectly: assigning user data that corresponded to other
objects (cels/slices/etc.) to tags.
Co-authored-by: David Capello <david@igarastudio.com>
2021-04-13 10:07:28 -03:00
David Capello
a012dac020
Merge branch 'main' into beta
2021-04-12 17:11:28 -03:00
David Capello
8b4746e813
Add option to disable the "open sequence of files" dialog
2021-04-12 16:57:02 -03:00
David Capello
5e98b39944
Expand timeline range outline for layers/frames to all cels
2021-04-12 14:48:16 -03:00
David Capello
1b0466af17
Fix some bugs drawing the timeline when we scroll it
...
Mainly the range outline outside the frames header.
2021-04-12 14:47:59 -03:00
David Capello
8d6f889e0e
Add option to keep the timeline selection when we draw on the canvas
2021-04-12 14:47:47 -03:00
David Capello
2df3cd8a80
[lua] Add app.command.ImportSpriteSheet()
...
Feature request: https://community.aseprite.org/t/8482
2021-04-09 17:28:59 -03:00
David Capello
3769d91125
[lua] Add Sprite.pixelRatio property
...
Feature request: https://community.aseprite.org/t/8627
2021-04-09 16:22:50 -03:00
David Capello
5053443d21
Load indexed tga w/transparent pal entries as transparent layer
...
Before this we were loading the file with a Background layer with a
transparent palette entry.
2021-04-09 12:09:45 -03:00
David Capello
cff3475941
Don't show warning when saving indexed tga w/transparent pal entries
2021-04-09 12:09:09 -03:00
David Capello
f311e3edde
Fix selection feedback in indexed when mask color w/alpha=0 ( fix #1412 , fix #1667 )
...
Also reported recently here (and probably in several other places):
https://community.aseprite.org/t/8462
2021-04-09 11:11:41 -03:00
David Capello
4c712af45d
Limit centering windows to workarea when we use multiple displays
2021-04-09 09:48:27 -03:00
Gaspar Capello
bcaa12be11
Fix regression - ctrl to copy selection activates move tool
2021-04-09 08:38:28 -03:00
David Capello
ae904428fa
Merge branch 'main' into beta
2021-04-08 16:15:02 -03:00
David Capello
64f96f0851
[linux] Use $XDG_CONFIG_HOME if defined instead of $HOME/.config ( fix #2332 )
2021-04-08 15:56:32 -03:00
David Capello
f1b02a3347
Deselect timeline range in "auto select layer" mode if we just click the active layer
...
Fix: https://community.aseprite.org/t/8610
2021-04-08 15:21:11 -03:00
David Capello
f91c07825b
Don't use Timeline range if it's hidden in editor site & moving cel
2021-04-08 15:17:39 -03:00
David Capello
f3ab779bfd
Don't transform hidden layers ( fix #2680 )
2021-04-08 11:24:55 -03:00
David Capello
565057cf77
Add missing file in 67eeac8045eb126c4cc0d956a83a3f58de134e49
2021-04-07 18:51:48 -03:00
David Capello
9c319e46ac
Fix bug transforming the same linked cel two times
...
As we wanted the current cel as the first cel to transform (to avoid
re-transforming it with inner cmds when we drop pixels), if this cel
was a linked from other one it will not be removed from the
getEditableCels() list, so two linked cels would appear two times in
the list. Now we remove the current cel correctly when it's a linked
cel after re-adding it.
Reported here: https://community.aseprite.org/t/8618
2021-04-07 18:32:56 -03:00
David Capello
67eeac8045
Fix bug keeping the modified range different than the visible range when moving pixels
...
When we clicked the current cel/frame/layer on MovingPixelsState in
the Timeline, we weren't dropping the pixels, so the range was
different in the Timeline UI, but we were using the old site range
which was different (bigger) than the Timeline range.
Fixes several bugs: https://community.aseprite.org/t/8618
2021-04-07 18:11:30 -03:00
David Capello
169cfa39cf
Use timeline selection only when it's visible
2021-04-07 15:20:36 -03:00
David Capello
a122f1ceba
Reset tool preferences just once when running from CLI
2021-04-07 12:58:03 -03:00
David Capello
351900b4e7
Update flic and tga modules
2021-04-07 11:24:39 -03:00
Martín Capello
783802a980
Fix eyedropper when picking tiles from composed image
...
When eyedropper was used to pick tiles from a composed image having an
image layer and a tilemap layer without cels, it tried to pick tiles
from the image layer.
2021-04-06 19:22:04 -03:00
Martín Capello
079f7b6537
Fix the mouse cursor shown when entering to submenus
2021-04-05 14:31:53 -03:00
Martín Capello
fdbb3aec59
Fix alert when installing an extension
...
Before this, the alert's parent window was the main window instead of
the options window.
2021-04-05 14:31:48 -03:00
Gaspar Capello
5e172d81ee
Fix exception during palette changes while editor state is MovingPixelsState
...
Before this fix a console error appeared during a setTransparentIndex
or setPalette execution (or other functions in the ColorBar class)
while some selected portion of the image was
transformed (MovingPixelsState).
Bug reported: https://community.aseprite.org/t/5288
2021-03-31 17:29:24 -03:00
David Capello
27273e5529
Fix mouse pos of the new message created in Widget::offerCapture()
2021-03-31 17:14:31 -03:00