Commit Graph

4815 Commits

Author SHA1 Message Date
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
kobewi
56251cf08c Fix tile atlas merging crash 2023-02-20 18:22:44 +01:00
Eldor Zang
62976659b8
Set default name if SpriteFrames name is empty 2023-02-17 15:29:07 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
rsjtdrjgfuzkfg
331dd33009 Theme Editor: fix leading styleboxes / main styles
Recent changes in Godot cause the theme editor to become hidden when
editing a child resource. This causes a crash when editing style box
resources marked as "main styles" (= leading styleboxes in the code), as
they try to reference the currently edited theme.

This commit works around the issue by permitting the Theme Editor to
keep a reference to the most recently edited Theme. Furthermore, it adds
an assertion to avoid a similar crash in the future.

Long-term, the workaround should probably be removed when the theme editor
is fixed to remain visible while editing child resources, but I'd keep
the assertion.
2023-02-16 20:41:51 +01:00
Rémi Verschelde
373cbbe7b2
Merge pull request #73375 from KoBeWi/save_us_all_from_crash
Fix Save All trying to save empty scene paths
2023-02-16 11:01:48 +01:00
kobewi
f579c0a79f Fix Save All trying to save empty scene paths 2023-02-15 17:29:52 +01:00
Haoyu Qiu
ccc3bdebb3 Add missing i18n in tiles editor 2023-02-15 23:08:03 +08:00
Rémi Verschelde
56d78c32f7
Merge pull request #68558 from dzil123/remove_duplicate_wireframe
Node3DEditorViewport - Remove duplicate wireframe check and cleanup
2023-02-14 13:36:52 +01:00