1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-15 10:13:07 +00:00
Commit graph

3346 commits

Author SHA1 Message Date
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
Emmanouil Papadeas
77feb2434a Add V as a shortcut for the crop tool 2025-01-12 20:41:04 +02:00
Emmanouil Papadeas
f273918368 Fix the resize canvas dialog's offset not resetting to zero on dialog popup
Also renamed some of the script's methods to be snake_case
2025-01-12 20:31:25 +02:00
Emmanouil Papadeas
3f2245cd9b Fix color picker changing hue when modifying the saturation and value inside the color picker shape 2025-01-10 17:30:44 +02:00
Emmanouil Papadeas
89de8ab461 Fix add_new_layer() in ExtensionsAPI 2025-01-09 23:05:55 +02:00
Variable
60c54601ce
fix crash when importing (not-yet) supported layers from one project to the other (#1161) 2025-01-05 20:46:30 +02:00
Variable
d3f287347a
add api 5 to the list of legacy versions (#1162) 2025-01-04 23:12:03 +02:00
Emmanouil Papadeas
6afdb372b3 [skip ci] Hide the Brightness/Contrast dialog 2024-12-31 19:34:17 +02:00
Emmanouil Papadeas
e98d481a19 [skip ci] Raise the Extensions API version to 6 2024-12-29 22:24:15 +02:00
Emmanouil Papadeas
6c3fc95099 [skip ci] Update CHANGELOG.md 2024-12-28 22:54:04 +02:00
Emmanouil Papadeas
c60c62f476 Fix tileset being completely cleared when resizing a project
Now only remove the tiles that are used so they can be remade as resized tiles. Unused tiles remain in the tileset as is.
2024-12-27 03:30:56 +02:00
Emmanouil Papadeas
616bd91c49 Mirror image image effect now works with indexed mode 2024-12-22 02:40:05 +02:00
Emmanouil Papadeas
a698668930 Fix #1157 for the polygon select and the curve tool as well 2024-12-21 03:52:33 +02:00
Emmanouil Papadeas
59254b943f Attempt to fix left tool preview not being shown when a right tool with a preview is selected
Maybe fixes #1157
2024-12-21 03:44:54 +02:00