1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00
Pixelorama/src/UI
Emmanouil Papadeas 91aea32864
Implement 3D layers (#840)
* Implement 3D layers

* Remove unneeded files

* Fix bug where a single hidden layer would ignore all of the layers on top when exporting

* Fix pxo loading

* Remove junk nodes from 3DShapeEdit

Seems like they were created when I copied from the old 3D Options.tscn panel to the new 3D Shape Edit tool.

* Make light gizmos half the size, and hide gizmos when rotating

* Fix crash when using the 3D shape edit tool on a group layer

* Remove unneeded code in Canvas.gd

* Add torus in the Cel3DObject.Type enumerator

Torus isn't currently supported in Godot 3.5, but it is in 3.6 and 4.0, so this is just future-proofing. May break compatibility with .pxo files that were exported with 3D layers before this change.

* Toggle 3D object visibility

* Change texts and some variable names

* Fill translation strings

* Fix crash on group blending, and make the code in Export.blend_layers() more general

* Fix errors when attempting to draw on a 3D cel

Can occur when multiple cels are selected, some of them 3D and some of them pixel

* Make scene properties and objects be per-cel instead of per-layer

Breaks compatibility with previous .pxo files that had 3D layers. Also introduces serialize() and deserialize() methods to BaseCel

* Use if not layer is get_script() in GroupLayer.blend_children()

* Flip the condition in GroupLayer.blend_children()

* Fix bug where locked/invisible layers could get drawn

Regression from c2f6bf0f3f

* Move gizmo code to 3DShapeEdit's draw_start(), move some undo/redo logic to 3DShapeEdit

* Move all of the undo/redo code to 3DShapeEdit, simplify code in Cel3D

* Store Cel3D image data to pxo, for easy usage by external software

This makes importing projects with 3D layers to other software, such as Godot using godot_pixelorama_importer easier.

* Make the linter happy

* Fix bug where the previously selected object would remain selected when it got removed with undo
2023-03-31 21:58:56 +03:00
..
Buttons Upgrade the look of the brushes popup (#815) 2023-01-21 17:01:07 +02:00
Canvas Implement 3D layers (#840) 2023-03-31 21:58:56 +03:00
CanvasPreviewContainer Spritesheet Animation Canvas Preview (#835) 2023-03-23 15:25:33 +02:00
ColorPickers Added color Averaging (#822) 2023-03-15 15:05:18 +02:00
Dialogs Implement 3D layers (#840) 2023-03-31 21:58:56 +03:00
GlobalToolOptions Fix dynamics hint tooltip and add some missing dynamic-related translation strings 2023-03-09 15:22:29 +02:00
Nodes Implement 3D layers (#840) 2023-03-31 21:58:56 +03:00
PerspectiveEditor Move perspective lines with mouse (plus code improvements) (#821) 2023-02-18 02:33:46 +02:00
Recorder Recorder extension to core (#823) 2023-03-07 16:21:03 +02:00
ReferenceImages Folders rearrangement (#804) 2023-01-05 17:54:22 +02:00
Timeline Implement 3D layers (#840) 2023-03-31 21:58:56 +03:00
Tools Implement 3D layers (#840) 2023-03-31 21:58:56 +03:00
TopMenuContainer Set tilemask automatically (#833) 2023-03-16 20:07:03 +02:00
Tabs.gd Close project tabs with middle mouse click 2022-08-25 01:47:05 +03:00
UI.gd Minor code changes 2022-03-29 02:35:32 +03:00
UI.tscn Update Default layout 2023-03-17 00:55:34 +02:00
ViewportContainer.gd Move left and right cursor sprite nodes to Main.gd 2022-08-24 14:22:40 +03:00