Anaminus
f69e2d06eb
Implement Columns field of imported .gpl palettes. ( #1025 )
...
* Implement Columns field of imported .gpl palettes.
- Fixes Columns field being ignored when imported.
- _fill_imported_palette_with_colors is modified to accept an optional
width parameter, which defaults to Palette.DEFAULT_WIDTH instead of
a hard-coded 8.
- A maximum of width of 16384 is enforced to mitigate maliciously large
values.
* Run gdformat.
* Run gdlint.
* Consume all whitespace between field and value.
2024-06-09 14:19:06 +03:00
Emmanouil Papadeas
8ec5653d67
Make the backup confirmation dialog slightly bigger
2024-06-08 23:29:05 +03:00
Emmanouil Papadeas
f79ae7e333
Fix canvas not updating when switching between projects that have the same size and amount of cels
...
Also fixes issue with tile mode not being updated properly when switching project
2024-06-07 14:49:08 +03:00
Emmanouil Papadeas
1a0f82753e
Actually fix pixel perfect and alpha lock buttons having different shortcuts
2024-06-04 00:41:42 +03:00
Emmanouil Papadeas
556fc4b467
Remove unused "manage_frame_tags" shortcut
2024-06-04 00:41:27 +03:00
Emmanouil Papadeas
aa2a2bdce8
Immediately disable the delete layer button when locking a layer
2024-06-03 20:41:48 +03:00
Emmanouil Papadeas
14e73ae33b
Fix palette swatch white border being shown on non-selected swatches, if the user has scrolled down
2024-06-03 20:36:39 +03:00
Emmanouil Papadeas
8c073dbe63
Fix the palette swatch white border not being shown when selecting a color that exists in the active palette
2024-06-03 19:18:25 +03:00
Emmanouil Papadeas
0b96e3aa6f
Make zoom slider slightly bigger to prevent the percentage from overlapping with the buttons
2024-06-03 19:15:58 +03:00
Emmanouil Papadeas
debbbf34d1
Try to fix Pixelorama's locale not loading when the OS locale is not set to English
2024-06-03 15:23:33 +03:00
Emmanouil Papadeas
1c3780c94c
Change the locale by finding the nearest loaded locale instead of looking for a hard match
...
Should fix issues where the OS was returning, for example, "fr" for the system locale, and it was not mapped to "fr_FR".
2024-06-01 23:21:23 +03:00
Emmanouil Papadeas
fecb9b5803
Fix changing the tablet driver on Windows
...
Plus, it should also no longer require a restart
2024-06-01 23:13:50 +03:00
Emmanouil Papadeas
429d3469fd
Fix issue with layers on the timeline having the wrong size on Greek
2024-06-01 18:29:38 +03:00
Emmanouil Papadeas
26da9070f8
Make the create new image a bit taller
2024-06-01 18:28:16 +03:00
Emmanouil Papadeas
770e04c550
Fix issue where Pixelorama was quitting on save, if the user attempted to save on exit before and cancelled the save file dialog
...
And replace instances of `Global.save_sprites_dialog` with a local `save_sprite_dialog` variable
2024-06-01 17:56:50 +03:00
Emmanouil Papadeas
b7a77a2ceb
Clear polygon select tool when switching projects
2024-06-01 16:03:39 +03:00
Emmanouil Papadeas
006be19464
Switch Square and Circle patterns in the outline effect
...
Not sure how they got out of order in the first place, they were fine in v0.11.4
2024-06-01 13:09:55 +03:00
Emmanouil Papadeas
260c906d92
Update docstring of ExtensionsAPI's add_export_option()
method
2024-06-01 13:01:30 +03:00
Emmanouil Papadeas
2afb087b7a
When switching projects and the curve tool is active, clear it
...
Instead of applying it. This also fixes a crash when the curve tool is active and the current project closes
2024-06-01 12:59:22 +03:00
Emmanouil Papadeas
e1a53ed905
Fix alpha lock having the same shortcut as pixel perfect
2024-06-01 00:49:01 +03:00
Emmanouil Papadeas
d8a17abd1d
Use the default Godot 4 version property in project.godot
...
The custom one we used was because Godot 3 has no version property, but this is no longer the case.
2024-05-31 16:01:36 +03:00
Emmanouil Papadeas
6c8e058164
Fix recorder mode button do the opposite from what it suggests
2024-05-31 14:40:05 +03:00
Emmanouil Papadeas
10d3eac253
Add a confirmation dialog to confirm whether a user wants to enable an extension
...
For security purposes. Extensions can be dangerous, the user must know what they are doing. Better safe than sorry.
2024-05-29 03:27:54 +03:00
Kiisu_Master
2613e02cd2
Fix ruler text not getting clipped ( #1023 )
2024-05-28 00:38:35 +03:00
Emmanouil Papadeas
d070f8c5f5
Put the effects menu shortcuts under an "Effects" group
2024-05-27 15:32:01 +03:00
Emmanouil Papadeas
b9c289e742
[Curve tool] Don't draw a circle when hovering over the first point, if there is only one point in the curve
2024-05-26 14:27:02 +03:00
Emmanouil Papadeas
7b17262c85
Show a confirmation dialog when attempting to drag and drop an image from a browser, for security purposes
2024-05-25 16:16:32 +03:00
Emmanouil Papadeas
8c5aba0083
Implement dragging and dropping images directly from the browser to download them and import them
2024-05-25 15:02:13 +03:00
Emmanouil Papadeas
b25ae8b4cc
Fix curve being immediately applied if the user presses and releases immediately
2024-05-25 00:42:34 +03:00
Emmanouil Papadeas
72a2c59986
Fix codespell errors
2024-05-25 00:41:57 +03:00
Emmanouil Papadeas
dc94f76d6a
Update the ratio of the AspectRatioContainer in the Import Preview dialog, plus some code cleaning
2024-05-23 01:29:16 +03:00
Emmanouil Papadeas
0a38345376
[Curve tool] Only control the out control point when holding Shift
...
Needed to make curves with sharp edges. Inspired by Krita's Bezier curve tool
2024-05-21 19:37:47 +03:00
Emmanouil Papadeas
e5d0a661f7
Properly fix polygon select tool circle radius not scaling properly with zoom
...
For real this time
2024-05-21 03:01:23 +03:00
Emmanouil Papadeas
3f8799f25a
When hovering above the first position when using the curve tool, apply the curve shape
2024-05-21 02:59:37 +03:00
Emmanouil Papadeas
318b381938
Add a fill shape checkbox in the curve tool options
...
Now the curve tool can also be used as a polygon tool
2024-05-21 02:28:40 +03:00
Variable
601c25f2dd
Curve tool implementation ( #1019 )
...
* curve tool
* formatting
* formatting
* saving my progress
* update to kirita mode
* Formatting
* fixes for mirror mode
* added way to remove point, added tool shortcut
* Add translation strings
* Use Curve2D instead of a control_points array
---------
Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-05-20 03:46:40 +03:00
Emmanouil Papadeas
fe4fc8b0a2
[skip ci] Set a default name for the CollapsibleContainers, if they have none
...
Mostly useful for debugging CollapsibleContainers made with code
2024-05-19 23:35:27 +03:00
Emmanouil Papadeas
0fc60168e8
Fix polygon select tool circle radius not scaling properly with zoom
2024-05-18 15:01:21 +03:00
Emmanouil Papadeas
7cc820fcf4
Change the accent color of the dark theme to a lighter gray
2024-05-17 02:11:17 +03:00
Emmanouil Papadeas
a8440b80cc
Rename config file from cache.ini to config.ini
2024-05-16 00:07:38 +03:00
Emmanouil Papadeas
3a4517abf4
[skip ci] Update the Lospec Palette Importer extension version
2024-05-13 19:32:31 +03:00
Emmanouil Papadeas
0fb89bf888
[skip ci] Minor static typing and docstring improvements
2024-05-11 17:02:33 +03:00
Emmanouil Papadeas
6b1329ff1f
Set color picker's expand button focus mode to none
2024-05-09 02:45:48 +03:00
Emmanouil Papadeas
4ec7259c63
Optimize non-shader rotation by clearing non-selected pixels with masking
2024-05-09 01:36:11 +03:00
Emmanouil Papadeas
e15b207993
Pass a transformation matrix in CommonRotation shaders instead of an angle
...
This will allow us to implement shearing more easily. Also, for the non-SmearRotxel shaders, normalize their pivot in GDScript, before passing it to the script. Should probably be faster this way
2024-05-09 00:44:52 +03:00
Emmanouil Papadeas
25f7192573
Pass angles in radians in SmearRotxel
...
Should be a slight optimization, since angles are being converted to radians only once, and that calculation is done in the CPU
2024-05-08 23:31:03 +03:00
Emmanouil Papadeas
fe54f943e9
Change the color picker panel's expand button to be bigger and have text
2024-05-08 16:32:51 +03:00
Emmanouil Papadeas
a2539c34f8
Add a minimum size to the Color Picker panel
2024-05-08 15:46:08 +03:00
Emmanouil Papadeas
e3ee931059
Move and resize tags by dragging their edges
2024-05-08 03:44:26 +03:00
Emmanouil Papadeas
5a64dde3e5
Remove frame tag button & make onion skinning settings into general timeline settings
...
The "Animation plays only on frames of the same tag" button has been moved to the general timeline settings, along with a new slider that resizes the cel buttons in the timeline.
2024-05-08 01:09:20 +03:00