Emmanouil Papadeas
6f3796627f
Add a flat property to CollapsibleContainer
2024-03-20 15:49:53 +02:00
Emmanouil Papadeas
f1ef01bb87
Replace Camera2D with a custom CanvasCamera to reduce idle GPU usage
...
Necessary workaround because of https://github.com/godotengine/godot/issues/89514
2024-03-19 15:39:34 +02:00
Emmanouil Papadeas
9fa90ab3b1
Set license text in the About dialog to be uneditable
2024-03-16 22:49:22 +02:00
Emmanouil Papadeas
03b173b76e
Optimize cel switching by avoiding changing the stylebox of every CelButton
2024-03-15 01:31:12 +02:00
Emmanouil Papadeas
d3be746290
Change UI of layer buttons - bring the small buttons out of the main button
...
This makes the visible/lock/linked/expand buttons more clear that they are indeed buttons. This commit also slightly changes the look of child layers, as they only appear intended and they no longer change color.
2024-03-14 20:13:42 +02:00
Emmanouil Papadeas
c1b78e4c01
Implement basic clipping masks
...
A very simple implementation, not as complex as something like #768 yet, but it can be done in the future.
The main current limitation is that it doesn't work with group layers as of right now.
2024-03-14 01:08:57 +02:00
Emmanouil Papadeas
fdc92ccfc3
Fix group layer expand button not working
2024-03-13 01:22:46 +02:00
Emmanouil Papadeas
3c5c659f01
Disable 3D for the SubViewports
...
This doesn't affect 3D layers, as they are being rendered on another Viewport
2024-03-12 22:18:15 +02:00
Emmanouil Papadeas
6ea6df0e26
Fix size label not being updated on the Export dialog's spritesheet tab when the direction changes
2024-03-11 19:19:27 +02:00
Emmanouil Papadeas
4614a648d1
Update hint tooltip of the alpha lock button
2024-03-09 02:51:29 +02:00
Emmanouil Papadeas
dc9ba6dd9c
Implement alpha lock as a global tool option
2024-03-09 02:47:13 +02:00
Emmanouil Papadeas
90f7df0f5d
Exporting each layer as a different file is now possible
2024-03-07 16:08:20 +02:00
Emmanouil Papadeas
cb58cf7163
Minor refactor of Export & ExportDialog to combine processed_images and durations into a single ProcessedImage class
2024-03-07 02:10:21 +02:00
Emmanouil Papadeas
cd2787b373
Set opacity of multiple layers at once
2024-03-07 01:16:43 +02:00
Emmanouil Papadeas
d17a151f8d
Delete and change properties of multiple cels at once
2024-03-07 01:06:46 +02:00
Emmanouil Papadeas
20fecc5a7a
Export spritesheets based on animation tags
2024-03-06 19:49:05 +02:00
Emmanouil Papadeas
22ddc96962
Use getters to lazy-load cleanEdge and OmniScale shaders
2024-02-19 02:09:35 +02:00
Emmanouil Papadeas
66ea1fcfe9
Update the DockableContainer plugin
2024-02-18 19:47:21 +02:00
Variable
81dbc0177d
Moved live preview code to ImageEffect Dialog ( #978 )
...
* live fixes
* added accidentally disconected signals
* Update RotateImage.tscn
* improved code
* Formatting
2024-02-17 00:23:31 +02:00
Emmanouil Papadeas
b3fa8870f8
Fix null instance error causing a crash on startup, originating from #974
2024-02-14 20:58:21 +02:00
Variable
909f38bd0c
Further Reference UI Improvements ( #974 )
...
* references UI refactor
* changed select icon
* fixed a bug
2024-02-14 19:53:35 +02:00
OverloadedOrama
47fc659170
Add yet another MarginContainer in the timeline
...
To fix the outline of the first frame (when selected) from being cut off, while also keeping frames & cels glued to the layers
2024-02-12 05:02:07 +02:00
Emmanouil Papadeas
0a63664391
Remove some dialog parent nodes
...
Also removes the GIF warning in the ExportDialog, as #697 no longer occurs in 1.0
2024-02-12 00:28:50 +02:00
Emmanouil Papadeas
85b255032f
Keep the aspect ratio correctly in the image effect dialog previews
2024-02-11 18:44:22 +02:00
Emmanouil Papadeas
2b4d85ac3e
Fix PointCollapseContainer's TextureRect being rotated incorrectly
2024-02-11 18:21:35 +02:00
Emmanouil Papadeas
0e4c9bad20
Remove CollapsibleContainer.tscn, only keep it as a script/node type
2024-02-11 18:20:46 +02:00
Emmanouil Papadeas
8d8a147142
Lazy load the window opacity dialog
2024-02-11 16:20:04 +02:00
Emmanouil Papadeas
be7427fd9c
Fix memory leak when previewing layouts in the ManageLayouts dialog
2024-02-11 16:02:15 +02:00
Emmanouil Papadeas
c4a4bd4602
Implement lazy loading for some dialogs to make the initial loading of Pixelorama faster
...
Only load dialogs when they are needed and not at the start of the program. Right now only the new image, about, manage layouts and image effects dialogs are being loaded on demand, but more dialogs can be handled this way in future commits.
2024-02-11 16:01:59 +02:00
Emmanouil Papadeas
a6060d9ff6
Remove unused variable from ReferencesPanel
2024-02-11 02:20:44 +02:00
Emmanouil Papadeas
8448dbd4ba
Various theme improvements
2024-02-10 15:11:53 +02:00
Emmanouil Papadeas
a05dbabf98
Slightly increase the layer container minimum size to match the layer buttons
2024-02-09 14:50:18 +02:00
Emmanouil Papadeas
b75573d19c
Make CelProperties its own scene and put it in Main.tscn instead of having it as a child of each CelButton
...
This drastically reduces the number of nodes. Before, each cel would have its own property node which, when the project had many cels, drove the node count quite high.
2024-02-09 04:01:01 +02:00
Emmanouil Papadeas
7f1aad280c
Fix cel buttons not changing colors when switching themes
2024-02-09 03:33:34 +02:00
OverloadedOrama
d8d05c73de
Add a new Rose theme, made changes to the other themes
...
Made by @Erevoid
2024-02-08 22:30:14 +02:00
OverloadedOrama
12036364b5
Timeline UI improvements, better visual indication of the cels that are selected and the cels that are linked
2024-02-08 20:46:07 +02:00
OverloadedOrama
e11ecb2e8d
Add get_position() and get_minimum_size() methods to AnimationTag
2024-02-07 03:17:39 +02:00
Emmanouil Papadeas
a5a0ac103c
Enable gestures and treat long press as right click for Android
...
Gestures are not yet working very smoothly, but that's something that can be improved after 1.0
2024-02-06 02:50:55 +02:00
Emmanouil Papadeas
5dfe1cc271
Set Selection.gd process input false by default, fix cursor still being set to a cross when entering the canvas if it's disabled in the preferences
2024-02-04 00:12:19 +02:00
Emmanouil Papadeas
6a7e060f73
Set the cursor to cross when entering the canvas and to resize when hovering selection gizmos
2024-02-04 00:05:20 +02:00
Emmanouil Papadeas
4c39e29b67
Fix UI not staying dimmed after opening a native file dialog
2024-02-03 13:55:17 +02:00
Emmanouil Papadeas
9a842ad33e
Sort layouts alphabetically when adding a new one so that Pixelorama will remember the correct last used layout when opening again
2024-02-02 03:50:28 +02:00
Emmanouil Papadeas
5824d2a0eb
Choose which layout to copy from when adding a new layout
2024-02-02 02:59:07 +02:00
Emmanouil Papadeas
534a7fd356
Change the selected UI layout every time it changes
...
This way, Pixelorama remembers the changes users make to the UI, without them having to go to Window, Manage Layouts and clicking on Edit, which was an unintuitive and slow way. Needs testing because bugs may linger.
This commit also adds a new `save_on_change` variable and a `save` method on layout.gd of the dockable_container plugin. Perhaps I should also add this upstream as well.
I also need to add a way to create new layouts based off the default ones (which are permanently stored within Pixelorama's pck file and cannot be modified), so users will always have the option to resort to the default layouts.
2024-02-02 02:31:29 +02:00
Emmanouil Papadeas
da0066259e
[WIP] Copy default layouts to the layout directory so they can be modified
...
Moved some logic away from TopMenuContainer to Main.gd and the layout array to Global.gd.
2024-02-02 01:42:29 +02:00
Emmanouil Papadeas
ed072de84e
Change the layouts array in TopMenuContainer to only contain DockableLayouts instead of being an array of arrays
2024-02-01 22:10:18 +02:00
Emmanouil Papadeas
606ce965f6
Remove unneeded layout code from TopMenuContainer
2024-02-01 21:41:32 +02:00
Emmanouil Papadeas
276a872f73
Rename "ui" variable to "main_ui" in Main.gd and TopMenuContainer.gd
2024-02-01 20:53:52 +02:00
Emmanouil Papadeas
2e8cf6a30a
Minor code improvements in WindowOpacityDialog.gd
2024-02-01 20:51:26 +02:00
Emmanouil Papadeas
1dce3ebe22
Change get_tree().get_root() to get_window() in TransparentChecker.gd
2024-01-29 16:37:56 +02:00