David Capello
6c2d2f6f79
Fix crash if we remove a tag when we're playing the animation
2022-10-20 14:51:42 -03:00
David Capello
9601c02812
Add option to play/preview with subtags & repetitions
2022-10-20 14:41:24 -03:00
David Capello
e78e1e9a54
Remove current_editor, replace with Editor::activeEditor()
...
Finally removed src/app/modules/editors.h file.
2022-10-20 12:31:22 -03:00
David Capello
4f96d37b1f
Add repeat field to animation tags ( #1275 , #1740 )
2022-10-19 12:25:06 -03:00
David Capello
17a5b3f3fc
Replace base::mutex with std::mutex
...
* Removed base::mutex & base::scoped_lock
* We can use std::lock_guard with deduced template args (as we're
using C++17 now)
2022-10-18 16:20:34 -03:00
David Capello
616f74ae2d
Minor changes when accessing "properties_grid" widget
2022-10-13 09:40:54 -03:00
David Capello
18bbc271a1
Some minor clang-format adjustments
...
We're not using clang-format yet but there are plans to do it in a
near future.
2022-10-12 16:04:04 -03:00
David Capello
160a3f9a6c
Merge branch 'beta-fix-2809' ( fix #2809 )
2022-10-12 15:00:41 -03:00
Joshua Ogunyinka
ed26fdd806
Add missing language strings in other uncategorized sections
2022-10-12 14:57:23 -03:00
Joshua Ogunyinka
6c55847151
Add more missing language strings for filtering/editing
2022-10-12 14:54:50 -03:00
Joshua Ogunyinka
aaa69a3d81
Add more missing language strings when importing/exporting sprite sheets
2022-10-12 14:40:01 -03:00
Joshua Ogunyinka
a4bc897f76
Add missing language strings for preview editor/new brush/inks/mask by color
2022-10-12 14:36:31 -03:00
Joshua Ogunyinka
3cdb187487
Add more missing language strings for colorbar's wheel properties
2022-10-12 14:24:20 -03:00
Joshua Ogunyinka
a6aa84981f
Add more missing language strings when changing sprite's pixel format
2022-10-12 14:23:40 -03:00
Joshua Ogunyinka
05c4326ada
Add missing language strings for all components using the status bar
2022-10-12 14:23:30 -03:00
Joshua Ogunyinka
bf88fa2bd1
Add missing language strings when loading/saving components
2022-10-12 14:21:21 -03:00
Joshua Ogunyinka
05ece3fad1
Add missing language strings in sprite size command
2022-10-12 13:49:24 -03:00
Joshua Ogunyinka
9105642dbf
Add missing language strings for layer/frame/anidir comboboxes
2022-10-12 13:46:29 -03:00
Joshua Ogunyinka
dd2efe28d2
Add missing language strings for dithering selector
2022-10-12 13:41:19 -03:00
Joshua Ogunyinka
974c13dd33
Add missing language strings in sprite properties & import sprite sheet
2022-10-12 13:38:22 -03:00
Joshua Ogunyinka
6bc0d312d2
Add missing language strings in the layer properties
2022-10-12 13:24:09 -03:00
Joshua Ogunyinka
ab56186d79
Update commands strings when language change
2022-10-12 13:22:26 -03:00
Joshua Ogunyinka
bbfae36d8f
Add missing language strings for preference window
2022-10-12 13:20:41 -03:00
Joshua Ogunyinka
de44545930
Add missing language strings for keyboard shortcuts
...
Co-authored-by: David Capello <david@igara.com>
2022-10-12 13:20:35 -03:00
Joshua Ogunyinka
797f8db2fa
Add missing language strings for the file selector
2022-10-12 13:20:23 -03:00
Joshua Ogunyinka
60b5df4030
Add missing language strings for the color bar
2022-10-12 13:19:32 -03:00
Joshua Ogunyinka
3c815ac1bd
Add missing language strings for the timeline/context bar
2022-10-12 13:19:20 -03:00
David Capello
c7e4416f95
Merge branch 'beta'
2022-10-11 19:05:46 -03:00
David Capello
d195561b7f
Merge branch 'beta' ( #3548 )
2022-10-11 18:59:39 -03:00
David Capello
178d8e1775
Disable multiple UI windows by default ( #3548 )
2022-10-11 18:58:32 -03:00
David Capello
a5ac9ada27
Merge branch 'main' into beta
2022-10-11 18:50:09 -03:00
David Capello
c253bfbedd
Simplify FilenameInfo initialization
2022-10-06 11:49:05 -03:00
Gaspar Capello
16362cc511
Fix {duration} file format always gives an incorrect number ( fix #2998 )
...
Before this fix, the string '{duration}' in the file format gave an incorrect/random and constant number across all frames. This happened in Save-AS, Export File, CLI, Json on Export Sprite Sheet.
2022-10-06 11:28:16 -03:00
David Capello
a85b61e4b1
Update laf module
2022-10-06 11:19:44 -03:00
Jeremy Behreandt
1133f4cc0f
Floor Mod in Shift Image Mask
...
Changed shift image with mask routine to use floor modulo (or Euclidean remainder). Switched from two nested for loops to one for loop.
In response to bug report at https://community.aseprite.org/t/app-command-movemask-error-when-wrapping-with-a-value-higher-than-sprite-width/10437 .
2022-09-30 11:11:02 -03:00
David Capello
ba3452b059
Merge branch 'main' into beta
2022-09-29 17:23:11 -03:00
David Capello
b6a9a6ce0a
Update laf module
2022-09-29 17:16:42 -03:00
David Capello
6b21fec417
[lua] Add "ev" args to "change" sprite event, to ask for "ev.fromUndo"
...
In this way we can know if the event was generated from a
undo/redo/undo history change and not from the direct user
manipulation of the sprite.
Useful for scripts like in #3539
2022-09-29 12:10:09 -03:00
David Capello
5c4024c44f
Replicate same changes from c0dfb832d87c369aee22ed08b6702ab55543d382 for redo ( #3539 )
2022-09-29 11:04:05 -03:00
David Capello
c0dfb832d8
Fix crash if a script modifies the sprite when we're undoing/redoing ( fix #3539 )
...
To do this the script must be listening the sprite changes (which are
generated on undo/redo commands too).
2022-09-29 10:57:40 -03:00
Gaspar Capello
022c0c38df
Fix dynamics + gradient + no dithering + fg or bg is mask color results in an opaque stroke.
...
Before this fix, dynamic + gradient (pressure or velocity) + no dithering + fg or bg = mask color results in an opaque stroke.
2022-09-28 18:50:01 -03:00
Martín Capello
4ff4274deb
Refactor some conditional expressions to fix a compiler warning
2022-09-28 17:08:11 -03:00
David Capello
88594bfa0e
Merge branch 'main' into beta
2022-09-28 16:20:03 -03:00
David Capello
00be9afcea
Avoid warning about use of uninitialized variable
2022-09-28 15:56:26 -03:00
David Capello
008df4d03a
Add ui::Paint = os::Paint = SkPaint
...
So now we can have access to Skia SkPaint instance directly from
Aseprite UI code (and set the shader, and other properties that are
not yet well-wrapped in laf-os).
We've simplified ui::CheckeredDrawMode with
ui::set_checkered_paint_mode() function, as now the checkered
background shader is stored in ui::Paint (SkPaint) instead of
ui::Graphics state.
2022-09-28 15:49:30 -03:00
David Capello
9c09a55487
Avoid warning in Release mode in View::updateView()
2022-09-26 19:49:26 -03:00
justanobdy
f7154aa0d8
Add SUSE dependencies
2022-09-26 11:19:57 -03:00
Kacper Woźniak
75627bd148
Fix the group attribute for Slice Properties
2022-09-26 11:00:10 -03:00
Gaspar Capello
59fff4ba9c
Fix bmp file and bitmap size are incorrectly set during save command ( fix #3534 )
...
Before this fix, file and image sizes were calculated incorrectly. This caused problems for some viewers/browsers/engines to load BMPs created in Aseprite.
2022-09-23 18:07:23 -03:00
David Capello
896c02c67f
Fix several bugs converting layers (copy user data, blend mode and opacity)
2022-09-23 12:30:22 -03:00