Commit Graph

12448 Commits

Author SHA1 Message Date
Haoyu Qiu 389045c691 Fix inconsistent file dialog settings usage
* Project Manager ignores display mode settings.
* EditorFileDialog's default display mode and show hidden files settings
  are not updated when corresponding editor settings change.

(cherry picked from commit 2ccc9e1456)
2023-04-26 14:48:18 +02:00
Rindbee 112677c39e Fix `line_spacing` in code editor will not take effect immediately on change
Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.

(cherry picked from commit 23d6225c1e)
2023-04-26 14:32:22 +02:00
VolTer 75a33fd647 Add missing PhysicalBone2D icon
(cherry picked from commit 048f94f662)
2023-04-26 14:32:22 +02:00
Samuele Panzeri 12969aadbd Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash
(cherry picked from commit b6abb34759)
2023-04-26 14:32:21 +02:00
Haoyu Qiu 9336866de0 Fix layout list not resizing in editor layout dialog
(cherry picked from commit dfc628bc54)
2023-04-26 14:32:21 +02:00
Fredia Huya-Kouadio bceb910f3a Make `EditorPropertyLayersGrid` responsive to touch taps
(cherry picked from commit aa7a4d56f0)
2023-04-26 14:32:20 +02:00
clayjohn c8ed59ba41 Validate renderer selection in project manager and change default renderer editor setting to expose an enum to users
(cherry picked from commit 48ebae7812)
2023-04-26 14:31:53 +02:00
kobewi cce2ffda1b Remove wrong Ctrl from 2D editor tooltip
(cherry picked from commit 75f2d7f5c4)
2023-04-26 14:14:06 +02:00
bruvzg 357e2ec05d [Image Font] Fix fractional ascent for font with odd height.
(cherry picked from commit 41f7bb2025)
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
kobewi f39f354313 Add missing LineEdit constants in editor theme
(cherry picked from commit f462efd7f1)
2023-04-24 17:08:55 +02:00
Michael Alexsander af0dd6591b Remove unnecessary zero multiplications
(cherry picked from commit f057d755ab)
2023-04-24 17:07:09 +02:00
bruvzg 9c1ea28092 Improve line BiDi handling, prevent crash on recursive log updates.
(cherry picked from commit 282e4231c2)
2023-04-24 17:03:55 +02:00
Pedro J. Estébanez 3a5bc7455e Make EditorToaster's handler thread-safe
(cherry picked from commit 84183f89e6)
2023-04-24 16:52:26 +02:00
kleonc ebcc7b4b98 Fix OBJ mesh importer smoothing handling
(cherry picked from commit e8900a2cac)
2023-04-24 16:52:25 +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
Ricardo Subtil b5ff677381 Poll LSP/DAP clients for connection status updates
(cherry picked from commit 4be4eeea3a)
2023-04-24 14:16:37 +02:00
Haoyu Qiu e7f7de0044 Set font sizes for various styles in editor output panel
(cherry picked from commit 2c0db8222a)
2023-04-24 14:16:37 +02:00
kobewi 51fdbf6ac7 Adjust size of some dialogs
(cherry picked from commit 71011e0855)
2023-04-24 14:16:16 +02:00
kobewi 8c372f4109 Fix method dialog label
(cherry picked from commit c399d4f26c)
2023-04-24 14:04:19 +02:00
Haoyu Qiu d0c50d820b Fix connect signal dialog not allowing Unicode method name
(cherry picked from commit 936c9e83b4)
2023-04-24 14:04:19 +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
Rémi Verschelde 90b4ca2e50
i18n: Sync translations with Weblate 2023-04-20 13:26:36 +02:00
kobewi 177be9bd37 Initialize editor values on first launch
(cherry picked from commit b0eadcfbce)
2023-04-10 11:32:28 +02:00
Lyuma ba9f2981f1 gltf: Remove obsolete hack to embed gltf textures in advanced import
(cherry picked from commit bd020b7d92)
2023-04-07 17:44:39 +02:00
Yuri Sizov cacc6c5ed5 Prevent color conversion of the big Godot logo
Use an off-white color from the palette that we explicitly don't convert.

(cherry picked from commit ce741df43d)
2023-04-07 17:44:38 +02:00
Marius Hanl 817da41d55 Fix some theme values affect the editor by setting a default value for the theme constant 'h_separation' for MenuBar and Button and a default value for the theme color 'background_color' for TextEdit
(cherry picked from commit c0905bc0af)
2023-04-07 17:44:38 +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
Jean-Michel Bernard 1aa5fce321 Fix commenting collapsed function issue
(cherry picked from commit 68ad3338ef)
2023-04-07 17:44:37 +02:00
Ron B. Yeh bcf991d3ec Fix off-by-one issue where Go to Line dialog shows the incorrect line
number (one less than the actual current line).

(cherry picked from commit 1e9fd10f68)
2023-04-07 17:44:37 +02:00
ajreckof 62dbd512cc Fix descriptions not showing for theme properties
(cherry picked from commit 14140eb2d9)
2023-04-07 17:44:37 +02:00
kobewi f8517e1c4b Remember directory when installing templates file
(cherry picked from commit 551b6965ec)
2023-04-07 17:44:36 +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
Rémi Verschelde 9099ac39cf
i18n: Sync translations with Weblate 2023-04-04 00:33:24 +02:00
smix8 1deda0f003 Add navigation renames to 3to4 converter
Adds navigation renames to 3to4 converter.

(cherry picked from commit 0c1e585a1d)
2023-04-03 18:37:44 +02:00
Ninni Pipping 1e94881484 Exposing more project settings for documentation
(cherry picked from commit bd30847e59)
2023-03-30 19:26:05 +02:00
Haoyu Qiu d6b36e800d Improve POT Generation dialog
* Avoid "property not found" warnings when adding a file for the first
  time.
* When no file is added, disable the Generate POT button instead of
  printing a warning.

(cherry picked from commit 584136271c)
2023-03-30 19:24:52 +02:00
Rémi Verschelde fe71d33033 Project converter: Remove Tween properties/signals from renames
The Tween class in Godot 3 is fully incompatible with Godot 4, there's no point
doing these renames. It also makes it harder to use Threen, my (currently WIP)
forward-port of the Godot 3 Tween to Godot 4.

(cherry picked from commit 0171037e0a)
2023-03-30 19:20:36 +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
Haoyu Qiu 2ea8dd7232 More i18n improvements
* Make placeholder in editor layout dialog translatable.
* Make messages in scene import settings dialog translatable.
* Mark theme override property categories for translation.

(cherry picked from commit 5a5fd33e42)
2023-03-27 18:02:14 +02:00
Haoyu Qiu 5e9e95c34c Make Add Scene button the same height as scene tabs
(cherry picked from commit 8ab11127bc)
2023-03-27 18:00:35 +02:00
Haoyu Qiu 50ea0951fe Fix height of subresource button in Inspector
(cherry picked from commit 66b325b728)
2023-03-27 18:00:28 +02:00
kobewi 65c52087c2 Remove disabled plugins from active plugins
(cherry picked from commit 0b8b37c35d)
2023-03-27 17:58:34 +02:00
nikitalita 7a827f979e Fix ResourceImporterLayeredTexture::import() high_quality type
(cherry picked from commit 68a6505f41)
2023-03-27 17:48:02 +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