1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-07 19:09:50 +00:00
Pixelorama/src/UI/Dialogs
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
..
ImageEffects Use a ValueSliderV2 in the drop shadow dialog 2023-03-26 21:33:33 +03:00
AboutDialog.gd Update AboutDialog.gd 2022-12-09 18:33:36 +02:00
AboutDialog.tscn Implement the Keychain Plugin (#700) 2022-05-16 15:07:51 +03:00
CreateNewImage.gd Added recent sizes to new project (#819) 2023-03-14 13:58:40 +02:00
CreateNewImage.tscn Added recent sizes to new project (#819) 2023-03-14 13:58:40 +02:00
ExportDialog.gd Implement 3D layers (#840) 2023-03-31 21:58:56 +03:00
ExportDialog.tscn Change resize SpinBox to ValueSlider in ExportDialog 2023-03-30 18:20:55 +03:00
ManageLayouts.gd Added a preview to layouts (#787) 2022-12-07 15:43:49 +02:00
ManageLayouts.tscn Manage layout dialog UI changes 2023-03-17 01:20:17 +02:00
OpenSprite.tscn Saving .pxo files in HTML5 is now possible 2020-06-30 20:25:43 +03:00
PreviewDialog.gd Make reference images work on the Web version* 2022-12-07 15:38:44 +02:00
PreviewDialog.tscn Basic Layer Groups and Timeline Refactor (#698) 2022-09-28 21:59:49 +03:00
SaveSprite.tscn Have "untitled" be the default project name on save & export 2020-07-15 20:27:14 +03:00
SaveSpriteHTML5.tscn Have "untitled" as default project name in SaveSpriteHTML5 2020-07-15 18:28:46 +03:00
SplashDialog.gd [skip ci] Update splash screen artwork licenses 2022-10-02 00:51:06 +03:00
SplashDialog.tscn Change SplashDialog from WindowDialog to AcceptDialog 2022-08-26 03:25:22 +03:00
TileModeOffsetsDialog.gd Set tilemask automatically (#833) 2023-03-16 20:07:03 +02:00
TileModeOffsetsDialog.tscn Set tilemask automatically (#833) 2023-03-16 20:07:03 +02:00
WindowOpacityDialog.gd Use a ValueSlider in the window opacity dialog 2022-10-03 14:43:08 +03:00
WindowOpacityDialog.tscn Use a ValueSlider in the window opacity dialog 2022-10-03 14:43:08 +03:00