Emmanouil Papadeas
1b71dd565a
Various small code improvements
2025-02-10 03:04:42 +02:00
Emmanouil Papadeas
7902465cf1
Add user data for individual tiles
2025-02-10 03:03:29 +02:00
Emmanouil Papadeas
c7c79f9203
Always open the import dialog when opening images from File > Open
2025-02-09 20:39:12 +02:00
Emmanouil Papadeas
0ae1cb3f0f
[skip ci] Fix typo in Translations.pot
2025-02-09 20:10:45 +02:00
Emmanouil Papadeas
34ef0d4d15
Add tile properties window, allowing you to change each tile's probability
...
More options can be added there in the future. Perhaps we could even add Godot tileset data, once we add Godot tileset exporting.
2025-02-09 03:34:10 +02:00
Emmanouil Papadeas
f2f465a111
Select multiple tiles with Control and/or Shift to draw random tiles
...
If you have 2 tiles selected, for example, each time you draw it will randomly choose from one of these two tiles.
2025-02-08 21:21:28 +02:00
Emmanouil Papadeas
ac5027452d
Fix tileset panel not always hiding when Pixelorama starts
...
Possible regression from #1172 .
2025-02-08 20:21:34 +02:00
Emmanouil Papadeas
d7ba7fe6fc
Dockable panels are now properly sorted when toggling movable panels
2025-02-08 17:45:55 +02:00
Variable
6411d20e6d
Adds ability to swap tools (Shift + x as an initial shortcut) ( #1173 )
...
* Use Shift + x as a shortcut to swap tools
* rename it to swap tools, instead of switch tools
2025-02-07 16:32:06 +02:00
Emmanouil Papadeas
0dca8aba0e
Fix lasso and polygon select tools not selecting all pixels when the selection goes out of the canvas bounds
2025-02-06 02:35:16 +02:00
Variable
563edced5e
Fix always_on_top for sub-dialogs ( #1167 )
...
* Fix Create Folder sub-dialog of Export > Browse being always behind (thus making it unusable)
* Add a dedicated tag (makes it easier to remove it if godot itself fixes this bug later), save and save as dialog are fixed
* the scenes themselves have the tag instead of in Main.tscn
* Fix browse->new folder of export dialog
* fix a typo
* Restore lines that were unintentionally changed by Godot
* simplify the code and move it to the Export Dialog
* fix artefacts of moving the code
2025-02-06 01:56:33 +02:00
Variable
ec7155cf1e
Fix layouts overwriting the position info of pannels, added by extensions. ( #1172 )
2025-02-05 15:31:47 +02:00
Emmanouil Papadeas
0c8aaba553
[skip ci] Update CHANGELOG.md
2025-02-02 21:29:51 +02:00
Emmanouil Papadeas
ead7593e7e
Fix bug where the mouse cursor does not reset to default when hovering over a selection gizmo, and the selection gets cleared
2025-02-01 19:24:47 +02:00
Emmanouil Papadeas
7b96947066
Remove the Manage Layouts dialog
...
Instead, add "Add Layout" and "Delete Layout" options in the layouts submenu. This makes layout management easier, more intuitive and quicker, as it now requires less clicks. This is similar to what Photoshop does with its Workspaces
By removing the manage layouts dialog, we also got rid of duplicate code that already existed in TopMenuContainer, and it should be less bug-prone now.
2025-01-31 02:36:02 +02:00
Emmanouil Papadeas
b3ae706383
Add a Reset layout option for the default layouts in the layouts menu
...
Easy and user friendly way to reset default layouts, similar to Photoshop. This only works for default layouts, currently Default and Tallscreen.
2025-01-31 01:51:33 +02:00
Emmanouil Papadeas
96d0efe3ba
Organize image and layer effects into subcategories
...
The amount of image/layer effects keeps getting bigger and bigger, especially now that users can load their own effects.
At some point, it might also be a good idea to refactor the code so that image and layer effect code combines. Image effects could use ShaderLoader.gd to generate their UI, like layer effects do.
2025-01-31 00:14:54 +02:00
Emmanouil Papadeas
3e01247d95
Rename IndexMap's "alpha" uniform to "include_alpha"
2025-01-30 17:28:02 +02:00
Emmanouil Papadeas
4b3f37a115
Fix orphan node memory leak and format/lint previous commit
2025-01-30 17:24:56 +02:00
Emmanouil Papadeas
722eb59b3a
Group all of the color channel curves of the color curves layer effect
...
Making it consistent with its image effect counterpart. The code inside ShaderLoader.gd keeps getting uglier and uglier, it might be worth a refactor at some point.
2025-01-30 17:05:32 +02:00
Emmanouil Papadeas
f164fcc143
Update CHANGELOG.md
2025-01-30 02:27:53 +02:00
Emmanouil Papadeas
5e2901971b
Make RGBA bool uniforms in invert and desaturate buttons instead of checkboxes in layer effects
...
They are now consistent with their image effect counterparts.
2025-01-29 21:51:55 +02:00
Emmanouil Papadeas
80fba954ae
[skip ci] Update CHANGELOG.md
2025-01-29 21:19:34 +02:00
Emmanouil Papadeas
1eb553fea8
[skip ci] Add some missing uuids from scene files
2025-01-29 21:04:03 +02:00
Emmanouil Papadeas
0db7cd99f6
Show a menu when right clicking on a tile button in the tiles panel to allow deleting it
...
Only unused tiles can be deleted
2025-01-29 19:15:18 +02:00
Emmanouil Papadeas
055e4e1cb9
Fix group layer blending not working properly when it has invisible children
...
Should completely fix #1166
2025-01-29 16:57:11 +02:00
Emmanouil Papadeas
87b9df8049
Fix group layers blending twice in Canvas.update_texture() when their blend mode is set to passthrough
...
This solves a part of #1166
2025-01-29 16:45:33 +02:00
Emmanouil Papadeas
9b1b0df123
Add a "Show Reference Images' option in the View menu
...
For easy and quick reference image toggling
2025-01-29 00:40:28 +02:00
Emmanouil Papadeas
e4b4225a0d
I forgot to commit the option button's icon in the previous commit
2025-01-29 00:03:28 +02:00
Emmanouil Papadeas
f9034f8e44
Add a n options button in the tiles panel
2025-01-29 00:02:44 +02:00
Emmanouil Papadeas
c3277d8b01
Set the tile panel's auto mode button to be pressed by default
...
Since this is the default mode.
2025-01-28 19:25:01 +02:00
Emmanouil Papadeas
900ecc6ab2
Change toggle draw tiles mode's shortcut to Shift + ~
...
Shift + Tab was a bad shortcut because it conflicted with ui_focus_prev
2025-01-28 19:24:06 +02:00
Emmanouil Papadeas
1a96b225e3
[Static checks] Disable max-public-methods
...
Not very helpful, at least at the moment. We could re-enable it if we decide to refactor large scripts into smaller ones.
2025-01-28 19:22:55 +02:00
Emmanouil Papadeas
f5cb425f86
Add a "Paste from Clipboard" edit menu option
...
Eventually, if Godot adds copying images into clipboard, we can replace Pixelorama's custom clipboard logic and just copy and paste to/from the operating system's clipboard.
2025-01-28 19:14:56 +02:00
Emmanouil Papadeas
71200309f2
Add an icon in the layer buttons for layers that contain effects
2025-01-23 00:04:17 +02:00
Emmanouil Papadeas
44fd75fcb9
Add layer type icons to layer buttons in the timeline
...
Icons made by @Erevoid
2025-01-22 22:06:58 +02:00
Emmanouil Papadeas
fbadf41f82
Add icons to the tool panel buttons
2025-01-22 21:27:45 +02:00
Emmanouil Papadeas
9155d79777
Change tool order
2025-01-22 17:38:25 +02:00
Emmanouil Papadeas
f91b55672a
Add icons for the text tool's options, and make horizontal alignment work
...
Note that due to limitations with the TextEdit node, horizontal alignment cannot be previewed until the text has been placed in the canvas. This will be fixed once https://github.com/godotengine/godot-proposals/issues/7352 is implemented.
Icons made by @Erevoid.
2025-01-22 03:51:07 +02:00
Emmanouil Papadeas
a8c41312f8
[Experimental] Expose selection rotation gizmo
...
It's not working perfectly yet so it's possible it may get unexposed in the stable version if many issues are found, especially if it causes regressions to selection moving & resizing. Needs testing.
2025-01-21 03:40:43 +02:00
Emmanouil Papadeas
47a91bbb9a
Allow the image to be expanded in DrawingAlgos.transform
2025-01-21 00:43:05 +02:00
Emmanouil Papadeas
9b94b71dbc
[skip ci] Minor improvement to selection rotation
...
Not exposed to users yet
2025-01-20 17:35:58 +02:00
Emmanouil Papadeas
e40d507a6a
Add a transform
method to DrawingAlgos
...
Can be used as a general method to apply rotation and skewing. It does not handle scaling though, and I am not sure if it should.
2025-01-20 01:08:31 +02:00
Emmanouil Papadeas
0809dc2dcf
Gradient presets can now be deleted by right/middle mouse clicking on them in the presets menu
2025-01-19 02:23:03 +02:00
Emmanouil Papadeas
ddf704c336
Implement the ability to save gradient presets
...
Needs a way to delete them as well
2025-01-18 18:49:23 +02:00
Emmanouil Papadeas
1f6998e723
Add support for gradient presets
2025-01-16 22:11:02 +02:00
Emmanouil Papadeas
48130809c9
Update ObjParse.gd
...
Updated to c3156e2105/obj-parse/ObjParse.gd
. Should fix #1165 .
2025-01-16 20:17:21 +02:00
Emmanouil Papadeas
952498a2b8
Fix crash when importing a model in a 3D layer
2025-01-16 19:37:43 +02:00
Emmanouil Papadeas
bbc93e3f82
Add an offset slider for GradientEdit's selected point
2025-01-16 00:03:15 +02:00
Emmanouil Papadeas
5cfc22a3ad
Improve GradientEdit's UI and add reverse and evenly distribute points options
2025-01-15 19:22:41 +02:00