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

3186 commits

Author SHA1 Message Date
Hamster
77f6860f7a
Fix cursor blinking at the edge of canvas (#1075)
* fix: mouse blinking at the edge of painting canvas

* format: reformat src/UI/ViewportContainer.gd

* format: reformat according to gdlint

* refactor: removed unused code comments
2024-08-12 19:44:48 +03:00
Emmanouil Papadeas
15c186d8a1 Re-introduce #729 to fix an issue where the bucket tool filled with a slightly wrong color
We should probably keep this issue in mind though in case we find a better solution, but this seems to be working for now.
2024-08-12 16:36:20 +03:00
Emmanouil Papadeas
6e360505e3 Silence already connected signal errors in the tile mode offsets dialog 2024-08-12 02:36:45 +03:00
Emmanouil Papadeas
c4beee6f41 Fix crash when importing brushes and palettes 2024-08-12 02:34:51 +03:00
superherointj
0d60c4195e
.gitmodules: remove (#1076) 2024-08-12 01:16:29 +03:00
Emmanouil Papadeas
68be6ac106 Allow editing of non-pixel cel properties 2024-08-11 15:03:33 +03:00
Emmanouil Papadeas
3113459224 Fix #1074 2024-08-11 11:05:02 +03:00
Emmanouil Papadeas
9c170ee5a0 Fix group layer children blending not working with nested group layers and with layer effects 2024-08-11 01:38:18 +03:00
Emmanouil Papadeas
f3ee00a944 Fix crashes when attempting to export specific layers or tags that have been deleted 2024-08-11 01:00:10 +03:00
Emmanouil Papadeas
363c764fc1 Use the blend layers shader to blend the children of group layers 2024-08-11 00:51:31 +03:00
Emmanouil Papadeas
bdc1b5af11 Add a blend_layers_headless method to DrawingAlgos 2024-08-11 00:35:16 +03:00
Emmanouil Papadeas
19e4c94fe3 Add a resized signal to Project, remove the Global.tile_mode_offset_dialog variable
Continue to slowly remove nodes from `Global`.
2024-08-10 22:47:06 +03:00
Emmanouil Papadeas
1678738d75 Add tolerance to the magic wand, rename "similarity" to "tolerance" in the select by color tool and make it work the inverse way
Continuation of b0a284583b for the selection tools.
2024-08-10 18:43:04 +03:00
Emmanouil Papadeas
54d9e021c1 Bump version to v1.0.2-dev 2024-08-10 18:21:35 +03:00
Emmanouil Papadeas
b0a284583b Add tolerance to the bucket's "similar area" mode, rename "similarity" to "tolerance" and make it work the inverse way
A slightly breaking change for a minor update, but one that needed to be done. The bucket tool's "similarity" (now renamed to "tolerance") used to work the opposite way from all other software, the maximum value meant exact color match and 0 meant no color match. Now it works the inverse way to make it be consistent with other software, and the range is now 0-255 instead of 0-100. 0 means exact color match, 255 means no color match. And tolerance also now works for the "similar area" mode as well.
2024-08-10 18:20:42 +03:00
kleonc
92d7bbf539
Fix isometric grid calculations using ints instead of floats (#1069) 2024-08-09 15:33:45 +03:00
Emmanouil Papadeas
e83d560741 Release v1.0.1 2024-08-05 22:16:25 +03:00
Emmanouil Papadeas
511ebfa5a3 Exclude the unused translation files from the exported builds
The pck is now almost 1MB smaller than it was in version 1.0.
2024-08-05 13:33:58 +03:00
Emmanouil Papadeas
699c9cda87 Fix the name of the new image effect 2024-08-05 13:18:12 +03:00
Emmanouil Papadeas
478508be05
New Crowdin updates (#1052) 2024-08-05 13:13:40 +03:00
Emmanouil Papadeas
f299cf1339 Update AboutDialog.gd 2024-08-05 13:13:16 +03:00
Emmanouil Papadeas
fbe2952346 Make shape previews look like they did in v1.0
The AutoInvertColors shader has been updated to make shapes hollow, similar to how the marching ants outline works.
2024-08-04 22:12:57 +03:00
Emmanouil Papadeas
855f72aa5c [skip ci] Update CHANGELOG.md 2024-08-04 00:36:41 +03:00
Emmanouil Papadeas
3dfa7b52c2 Update Keychain 2024-08-03 22:39:58 +03:00
Emmanouil Papadeas
a3d7725a44 Fix popups appearing in wrong places when single window mode is disabled 2024-08-03 22:36:05 +03:00
Emmanouil Papadeas
95d96b9b00 Manually write lines in the override.cfg file instead of using ProjectSettings.save_custom() 2024-08-03 22:04:32 +03:00
Emmanouil Papadeas
17ad9eb8b5 Fix issue with popups being unclickable disabled single window mode
Should fix #1054
2024-08-03 21:27:39 +03:00
Emmanouil Papadeas
99793cf140 [skip ci] Update CHANGELOG.md 2024-08-03 01:47:43 +03:00
Emmanouil Papadeas
8c6bf08aef [skip ci] Fix typo in ExtensionsAPI 2024-08-02 21:43:57 +03:00
Emmanouil Papadeas
b6583e4133 Fix two bugs with palettes, see description
1) `Palettes`'s `reindex_colors_on_width_increase()` was not changing the `index` of `PaletteColors`, thus resulting in the opened palette itself and the saved file having different indices, which could've caused conflicts with multiple colors sharing the same index, if the user re-arranged the palette after resizing it.

2) If the width was increased but the height increased, the positions of the colors remained the same, which resulted in the colors being in the columns that were removed, to be removed themselves. Now, the colors are taking advantage of the empty space, in order to remove as less as colors as possible. No colors will be removed if the width times the height is equal to or greater than it was before.
2024-08-02 21:32:53 +03:00
Emmanouil Papadeas
f7296efbc5 Enable exclusive and disable popup_window flags in the palette dialogs 2024-08-02 20:59:59 +03:00
Emmanouil Papadeas
c0c391674d [skip ci] Change instances of "yield" to "await" in comments 2024-08-02 00:42:14 +03:00
Emmanouil Papadeas
1ad4c2357f In the Canvas scene, make Previews and PreviewsSprite nodes share the same material 2024-08-02 00:03:45 +03:00
Emmanouil Papadeas
911c1e82b8 Update CHANGELOG.md 2024-08-02 00:03:19 +03:00
Emmanouil Papadeas
99982b50bb [skip ci] Update Translations.pot 2024-08-02 00:03:16 +03:00
Emmanouil Papadeas
0ea0406233 Add an adjust brightness/contrast image effect
Thanks to https://godotshaders.com/shader/color-manipulator/

The shader has more options than just brightness and contrast though, but I didn't know how else to name the effect. "Adjust Brightness/Contrast" makes it immediately obvious as to what the effect is about.
2024-08-01 21:21:45 +03:00
Emmanouil Papadeas
4d26a6dd55 Fix warnings in some shaders 2024-08-01 15:51:46 +03:00
Emmanouil Papadeas
f15e8fb8f2 [skip ci] Update translation mistake 2024-08-01 01:41:33 +03:00
Emmanouil Papadeas
68b4047e72 Enable exclusive and disable popup_window flags in some more dialogs
I forgot to include these changes in 95b5102394
2024-08-01 01:23:33 +03:00
Emmanouil Papadeas
7c144ac07e [skip ci] Update CHANGELOG.md 2024-08-01 00:24:59 +03:00
Emmanouil Papadeas
6e41496ec9 [skip ci] Update translations 2024-08-01 00:24:25 +03:00
Emmanouil Papadeas
95b5102394 Enable exclusive and disable popup_window flags of all the dialogs
Closes #1061, fixes issue where when Pixelorama's window loses focus, the dialogs disappeared, but the dialogs can no longer close when pressing outside of them.
2024-07-31 22:49:30 +03:00
Emmanouil Papadeas
8ba2b62921 Mirror the previews of the shape tools
Now they are consistent with the selection tools
2024-07-31 22:23:50 +03:00
Emmanouil Papadeas
8e90271a64 Disable show hidden files by default in the export dialog
Maybe that is what caused #1060?
2024-07-31 21:41:18 +03:00
Emmanouil Papadeas
3011d8469f Mirror the preview of the elliptical selection tool 2024-07-31 21:29:05 +03:00
Emmanouil Papadeas
6c016697d9 Fix a crash when selecting an imported model in a 3D cel 2024-07-31 20:55:19 +03:00
Emmanouil Papadeas
af81154cbf Fix a crash with Godot 4.3 2024-07-31 20:55:02 +03:00
Emmanouil Papadeas
7063af098f Optimize the previews of the lasso, paint and polygon select tools
Continuation from the previous commit
2024-07-31 18:19:10 +03:00
Emmanouil Papadeas
9c7effdba3 Optimize previews of the ellipse selection and the shape tools
Before this commit, when these tools were being used on large areas, the software would start being very slow due to the polyline drawing. Now it simply draws an image.
TODO:
- Optimize the lasso, pixel and polygon select tools
- Mirror the previews of ellipse selection and shape tools, for consistency with the lasso, pixel and polygon select tools
- Perhaps somehow remove Previews.gd since its work is even more limited now.
2024-07-31 18:05:22 +03:00
Emmanouil Papadeas
cd269c9a4e Slightly optimize line and curve tool drawing 2024-07-31 14:28:30 +03:00