Samuele Panzeri
912b3afb96
Fix skeleton 3d editor crash in RC3
...
Control notifies a theme changed before the editor has entered the tree
(cherry picked from commit a103cd76bb
)
2023-05-18 19:22:22 +02:00
Manik Sharma
f6ed43b7d3
Make environment energy adjustable as a float in 3D editor's preview environment
...
(cherry picked from commit 3ce0ebb242
)
2023-05-12 12:31:24 +02:00
Bram Stolk
ce0c61b6e3
Add missing initializations for Node3DEditor.
...
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925
(cherry picked from commit 4bc513edbc
)
2023-05-12 12:31:23 +02:00
Samuele Panzeri
07128ccb9d
Fix skeleton_3d & physical_bone_3d editor errors
...
(cherry picked from commit 679ff6da0e
)
2023-05-12 12:31:22 +02:00
Manik Sharma
31a37495f3
Make sun energy adjustable as a float in the 3D editor's preview sun
...
(cherry picked from commit 5e1cb39101
)
2023-05-12 12:31:21 +02:00
kobewi
64b15c8ec1
Add info label to TileMap editor
...
(cherry picked from commit 979b53aba4
)
2023-05-12 12:07:14 +02:00
jmb462
f3b608d331
Fix regression with right click on main selection
...
(cherry picked from commit d59cdb8327
)
2023-05-12 12:07:02 +02:00
Jean-Michel Bernard
53df7c18e0
Fix right click in selection of additional caret
...
(cherry picked from commit 5c06c030f2
)
2023-05-12 12:07:02 +02:00
kobewi
d56c4f960c
Remove erroneous signal connection
...
(cherry picked from commit 88ea3dd4db
)
2023-05-12 12:07:01 +02:00
kobewi
19b998396c
Close built-in shaders when closing scene
...
(cherry picked from commit aaf02ec04a
)
2023-05-12 12:07:01 +02:00
Tetane
e68e2fad25
Use a SubViewport for CanvasItem inspector preview
...
(cherry picked from commit d3792a2373
)
2023-05-12 12:07:00 +02:00
kobewi
c8d64e8580
Fix another collision shape editor crash
...
(cherry picked from commit 01c32dffaf
)
2023-05-12 12:06:59 +02:00
kobewi
fdf66b3472
Fix CollisionShape2D editor crash
...
(cherry picked from commit e5d0bb1605
)
2023-04-28 17:16:53 +02:00
kobewi
37c89f78ac
Improve reliability of 2D shape editor redrawing
...
(cherry picked from commit d8e39912f8
)
2023-04-27 08:42:54 +02:00
kobewi
cce2ffda1b
Remove wrong Ctrl from 2D editor tooltip
...
(cherry picked from commit 75f2d7f5c4
)
2023-04-26 14:14:06 +02:00
kleonc
6ac70ff5da
TileMap Fix rendering odd-sized tiles
...
(cherry picked from commit c49a7feae3
)
2023-04-26 14:14:05 +02:00
Michael Alexsander
af0dd6591b
Remove unnecessary zero multiplications
...
(cherry picked from commit f057d755ab
)
2023-04-24 17:07:09 +02:00
Hakim
756d809ef1
Change cursor consistently when panning in the 2D Editor
...
(cherry picked from commit f4edbe6341
)
2023-04-24 16:52:25 +02:00
kobewi
51fdbf6ac7
Adjust size of some dialogs
...
(cherry picked from commit 71011e0855
)
2023-04-24 14:16:16 +02:00
fuzzy@notepc
08b825396f
Fix #75790 , where creating Ceil(Vector2) node in Visual Shader Editor
...
crashes engine due to index out of bounds.
(cherry picked from commit c6a45f1031
)
2023-04-24 14:04:18 +02:00
kobewi
177be9bd37
Initialize editor values on first launch
...
(cherry picked from commit b0eadcfbce
)
2023-04-10 11:32:28 +02:00
kobewi
87a9d2c87e
Improve editor state initialization
...
(cherry picked from commit 13c8a9890d
)
2023-04-07 17:44:38 +02:00
kobewi
03827485d7
Properly remember snapping options per-project
...
(cherry picked from commit 45b47d5584
)
2023-04-07 17:44:38 +02:00
James Buck
861399fbe5
Re-enable script editor File menu shortcuts when the menu is hidden
...
(cherry picked from commit de49bec30e
)
2023-04-07 17:44:37 +02:00
Hakim
b17f0f593e
Use physical shortcuts for freelook navigation in the editor
...
(cherry picked from commit 52de40310a
)
2023-04-07 17:44:36 +02:00
Ninni Pipping
1e94881484
Exposing more project settings for documentation
...
(cherry picked from commit bd30847e59
)
2023-03-30 19:26:05 +02:00
kobewi
74a35c9ca2
Don't allow selecting nodes without owner
...
(cherry picked from commit 2fcfef15da
)
2023-03-30 19:18:35 +02:00
kleonc
47c4044d03
TileSet editor AtlasMergingDialog crash fix
...
(cherry picked from commit c72b09639a
)
2023-03-30 19:16:33 +02:00
Hugo Locurcio
6fedc728f6
Use 8×8 default grid size for TextureRegion and 2D polygon editors
...
Power-of-two grid sizes are more suited to most game assets.
(cherry picked from commit 0f73ef1df9
)
2023-03-27 18:04:25 +02:00
kleonc
8575010e88
TileMapEditor Fix preview rendering and transform calculations
...
(cherry picked from commit 224c66324b
)
2023-03-27 17:32:48 +02:00
Fahad Shihab
e99b184b6c
Added drag and drop support for shaderinclude
...
Dragging and dropping now works for shader include file.
(cherry picked from commit e5601b517e
)
2023-03-27 17:26:36 +02:00
stmSi
0dab32f317
Fix `Find in Files` Search Results cannot open builtin script
...
(cherry picked from commit f1f4c5b10b
)
2023-03-27 17:06:43 +02:00
bruvzg
7a3f8a83da
Fix GDExtensions library export when multiple architectures are set.
...
(cherry picked from commit c2d678a924
)
2023-03-27 16:55:28 +02:00
Eric M
74b5a0ca4f
Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
...
* Pressing escape while gizmo editing will discard the changes made during that edit 'session'
(cherry picked from commit 871ddf80c0
)
2023-03-27 16:29:21 +02:00
the-sink
38c0ad7c6c
Redraw 2d viewport when guides are cleared
...
(cherry picked from commit 0c051f41b1
)
2023-03-14 13:59:05 +01:00
yedpodtrzitko
5824967f2f
clear filter input in Project Settings when opening Layers
...
(cherry picked from commit e13bcf5b84
)
2023-03-14 13:59:04 +01:00
Haoyu Qiu
38ad9c52b2
Add missing TTRs in tiles editor and array inspector
...
(cherry picked from commit bef7f14885
)
2023-03-14 13:59:04 +01:00
Ryan Roden-Corrent
47dc4bc307
Don't unset local_coords on starting transform.
...
This fixes a bug introduced by 806425621c
, where dragging the gizmo no longer respected local transforms.
I'm not sure why I called set_local_coords_enabled(false) in _compute_edit. Removing this line seems to fix gizmo-dragging local transforms, without breaking anything else.
I also noticed that confirming a transform leaves the gizmo axis lines on the screen. This is fixed by calling update_transform_gizmo after clearing the edit mode/instant flags, so update_transform_gizmo knows not to render any axes.
(cherry picked from commit d3d1223b97
)
2023-03-14 13:59:03 +01:00
Ryan Roden-Corrent
89a40d317d
Disable local space for blender transforms.
...
Having local_space enabled when starting a transform changed the
behavior of VIEW space transforms. Now we disable local_space when
starting a blender transform (there was already logic to restore the
setting after the transform ends).
This also hides the gizmo while performing a blender transform,
otherwise the user will see it snap back and forth between the local and
global alignment. I think the transform looks cleaner with the gizmo
hidden anyways.
Fixes #59392 .
(cherry picked from commit 806425621c
)
2023-03-14 13:59:03 +01:00
Yuri Sizov
84e9a79ace
Add missing handler for removing font sizes in Themes
...
(cherry picked from commit 5a3dbea3ed
)
2023-03-13 22:22:05 +01:00
Ninni Pipping
857cd853de
Fix TileSetEditor paiting texture_origin Vector2i
...
(cherry picked from commit fb317546fe
)
2023-03-13 14:52:22 +01:00
Niels Drost
94db7f866b
TileSet editor was out of sync with TileMap and incorrectly overwrote old selected TileSet after an edit call with a null pointer.
...
(cherry picked from commit 66374c8dce
)
2023-03-13 14:45:26 +01:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
Rémi Verschelde
75c0027e5a
Merge pull request #73887 from nklbdev/master
...
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 01:01:26 +01:00
nklbdev
834a6c5983
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 00:57:34 +05:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
kobewi
f3040be3ba
Fix Polygon3DEditor parenting errors
2023-02-22 03:17:29 +01:00
kobewi
5906d6de8e
Fix line folding with multiple carets
2023-02-21 21:28:26 +01:00
Rémi Verschelde
62d4d8bfc6
Merge pull request #73634 from KoBeWi/merged_into_error
...
Fix tile atlas merging crash
2023-02-20 22:46:31 +01:00
bruvzg
b3c64675cc
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00