1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Commit graph

2422 commits

Author SHA1 Message Date
Variable 29b03b0332
[Targeted for 0.11.0] Fix Onion skin settings don't save between runs (#857)
* Onion skin settings don't save between runs

* formatting

* Change some spinboxes to valuesliders

* removed un-needed signals
2023-05-14 13:31:15 +03:00
Emmanouil Papadeas 4730c60a73
[skip ci] Update CHANGELOG.md 2023-05-13 03:16:08 +03:00
Emmanouil Papadeas 308a3a2416 Fix bug where undoing after pasting, did not make the previous selection appear 2023-05-12 13:28:53 +03:00
Emmanouil Papadeas 362f4109d4 Fix issue where resizing pasted content resulted in errors 2023-05-12 13:24:49 +03:00
Emmanouil Papadeas 23720afd05 Hacky fix for a bug that makes panel tabs visible if a panel's visibility is toggled 2023-05-11 17:32:08 +03:00
Emmanouil Papadeas 298f495993 Fix a bug from #855 2023-05-11 00:35:39 +03:00
Variable e65e69f14d
Make cloned 3D cel have the same selected object as the orignal (#855)
* Update 3DShapeEdit.gd

do not set selected to null

* clone cel recieves selected cel from it's parent

* Add one more yield
2023-05-10 13:45:38 +03:00
Emmanouil Papadeas a2e184c05d Call canvas.sprite_changed_this_frame on the 3DShapeEdit tool
Fixes the dimming status of the cel button in the timeline
2023-05-09 18:47:57 +03:00
Emmanouil Papadeas 390eca554c Remove the default cube from 3D cels 2023-05-09 16:39:35 +03:00
Emmanouil Papadeas 08996fe6de Add a Cel3DButton scene for 3D cels instead of using PixelCelButton
Mostly to remove the popup menu that appears when you right click a cel
2023-05-09 16:37:32 +03:00
Emmanouil Papadeas e5aeedf3e8 Raise the vertical minimum size of the canvas preview panel 2023-05-09 14:39:14 +03:00
Emmanouil Papadeas 018673690c Minor UI change for the canvas zoom and rotation sliders 2023-05-09 13:01:24 +03:00
Emmanouil Papadeas 3052d2756e Optimize linked cels emitting the texture_changed signal, if multiple cels are selected 2023-05-09 01:29:03 +03:00
Emmanouil Papadeas 6b94b55f04 Fix linked cels remain dimmed even if they have content 2023-05-08 17:43:11 +03:00
Emmanouil Papadeas 5436298947 [3D cels] Do not display the object outline if it's behind the camera 2023-05-08 17:40:11 +03:00
Manolis Papadeas aa47133f9f Emit project_changed and cel_changed signals when opening a project that replaces the old one 2023-05-06 20:31:52 +03:00
Variable d266c87269
Fix top color picking (#854)
* fix tool

* fix default color picking
2023-05-06 14:50:37 +03:00
Emmanouil Papadeas 6dac85486a Prevent 3D gizmos from overlapping with each other 2023-05-06 14:49:59 +03:00
Emmanouil Papadeas f1b4b77745 Fix recorder not saving all layers and add more static typing 2023-05-06 14:33:44 +03:00
Emmanouil Papadeas 09c3ea1c2a Fix 3D layer current_object_id being sometimes wrong when loading pxo files
Previously, it was set to the size of the object_properties dictionary, but if the user has deleted objects, the object id would be higher than the size of the dictionary, since current_object_id never decreases.
2023-05-05 15:15:02 +03:00
Emmanouil Papadeas cf55332f18 Fix 3D Shape Edit text field cursor position changing when typing text 2023-05-05 12:43:23 +03:00
Emmanouil Papadeas e91921e832 Fix typo 2023-05-05 01:34:22 +03:00
Emmanouil Papadeas eaeb8189b4 Bump version to v0.11-rc1 2023-05-04 16:18:29 +03:00
Emmanouil Papadeas 2ed3605f0f Update contributors, translators and donors 2023-05-03 14:12:33 +03:00
Emmanouil Papadeas 5da5c5c226 [skip ci] Update CHANGELOG.md 2023-05-02 02:16:30 +03:00
Variable 44c2df98e0
Signal api (#851)
* New SignalAPI

* more project methods

* re-order

* Update ExtensionsAPI.gd

* some fixes

* fixes

* more fixes

* Fixes

* typo

* added a required `project_changed`

* Update ExtensionsAPI.gd

* Update ExtensionsAPI.gd
2023-05-01 12:50:15 +03:00
Emmanouil Papadeas 860370bd4e Add a get_class_name() method in the cel classes
I wish Godot had a method for this already
2023-04-30 14:52:01 +03:00
Emmanouil Papadeas 280fb748e9
New Crowdin updates (#841) 2023-04-29 14:05:56 +03:00
Emmanouil Papadeas 162d0bd2a5 Fix selection tile mode crashing when enabling it 2023-04-28 16:38:14 +03:00
Variable 7b189cc45e
TileMode for selection, (plus some other fixes) (#834)
* Tilemode selections

* Selection TileMode

* Fixed some bugs with the ORIGINAL tile mode

Image brushes needed to be adjusted

* remove behaviour checkbutton

* fixed remaining things

* formating

* formatting

* formatting

* formatting

* fix crash on rotating image

* Fix Color getting transparent on double chicking

same swatch twice

* typo

* typo

* Update RotateImage.gd

* Use sheckbox instead of option button

* make checkbox directly under select menu
2023-04-27 12:22:32 +03:00
Emmanouil Papadeas 7c14af7129 Add Cel3D in ExtensionsAPI 2023-04-26 10:52:20 +03:00
Emmanouil Papadeas 0145b9dede
[skip ci] Add more links to com.orama_interactive.Pixelorama.appdata.xml 2023-04-25 00:30:10 +03:00
Darshan Phaldesai 96d9327c8f
Update .desktop files and add MimeInfo (#848) 2023-04-24 13:50:56 +03:00
Emmanouil Papadeas 118e2e7671 Move set_nodes() logic to parent class ImageEffect
Also fixes a crash when trying to change the affected cels option in image effects that do not have animation options
2023-04-20 22:29:03 +03:00
Emmanouil Papadeas 0fe315d605 Remove separator from the image menu
Temporary, easy fix bug where assigning a shortcut to an image effect, actually assigned it to the one above.
2023-04-20 16:49:31 +03:00
Emmanouil Papadeas 91b1186d6f Remove unneeded shader parameters
Also changed the parameter names in HSV to reduce some lines of code
2023-04-20 16:21:09 +03:00
Emmanouil Papadeas 483e7df52e ValueSlider arrow buttons now respect snap_by_default 2023-04-20 16:11:16 +03:00
Emmanouil Papadeas ec2dcae8f7 Add a Posterize image effect, with optional dithering
Seems to produce the same result as GIMP's Posterize color filter. Should be useful for reducing the colors of an image, and it could work together with 3D lighting. Thanks to https://godotshaders.com/shader/color-reduction-and-dither/ for the shader.
2023-04-20 16:08:06 +03:00
Emmanouil Papadeas 9607981567 Do not call CameraMovement._input() if the cursor is not on the canvas
Slight optimization, as only one camera can now receive input at a time.
2023-04-19 21:35:29 +03:00
Emmanouil Papadeas 1a9691052e Only redraw the second canvas and canvas preview when necessary
Should optimize things ever further. Hopefully I didn't break anything.
2023-04-19 20:51:08 +03:00
Emmanouil Papadeas 0ffd34a4d6 Small optimization in CanvasPreview
On large canvases (like 4096x4096), simply moving the mouse around was laggy. It turns out that texture_to_draw = current_cels[i].image_texture was causing the lag, but I'm not sure why. It could be that texture_to_draw was a Texture and not an ImageTexture.

There is still some room for optimization, both the second canvas and canvas preview are being drawn on _input(), which is unnecessary.
2023-04-19 20:35:27 +03:00
Emmanouil Papadeas 72a7b277fb Use a ValueSliderV2 in the gradient dialog, and reverse the radius logic
The larger the radius value, the larger the circle, as it should be
2023-04-19 03:44:28 +03:00
Emmanouil Papadeas b1f355702e Add camera FOV and size to the 3D layers
Orthogonal projection is now more usable
2023-04-18 21:04:13 +03:00
Emmanouil Papadeas 1187b0bc49 Load cleanEdge shader when the rotate image or scale image dialog is shown
This should save some time on initial loading, but it introduces a slight loading time when opening the scale or rotate dialog for the first time in a session
2023-04-18 20:08:00 +03:00
Emmanouil Papadeas d04aa5ee56 Add snapping distance slider in the preferences 2023-04-18 17:20:13 +03:00
Emmanouil Papadeas 9d848c4f68 More ValueSliders in the Preferences 2023-04-18 17:03:51 +03:00
Emmanouil Papadeas 1325aaa13f Use ValueSliderV2s for grid preferences 2023-04-18 16:38:55 +03:00
Emmanouil Papadeas 02aa91a394 Fix camera jitter when zooming in the canvas 2023-04-17 18:09:49 +03:00
Emmanouil Papadeas 1196fb5b0b Use ValueSliders for the canvas zoom and rotation
Should also clean the code a little bit
2023-04-17 02:07:48 +03:00
Emmanouil Papadeas 5c8cf56f8f Make snapping distance change based on the zoom
Should work similarly to GIMP now
2023-04-16 21:15:40 +03:00