Commit Graph

13173 Commits

Author SHA1 Message Date
Hugo Locurcio 8d6493fae4 Initialize View Frame Time estimates to match 120 FPS
This prevents the estimation from being extremely high (close to 100,000 FPS)
until enough time has passed to display an accurate estimation.

(cherry picked from commit 15b31f0891)
2023-10-24 16:06:29 +02:00
Rakka Rage 22560c5bf0 Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
(cherry picked from commit dc2aa69c46)
2023-10-24 16:05:00 +02:00
Kirill Diduk eaa2485a5d [bugfix] Fix reimporting scene withh default values selected
This commit fixes #78140

When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect.

The problem was that when handling the reimport, a wrong dictionary of the settings was used.

(cherry picked from commit 8b729e5b7e)
2023-10-24 16:04:59 +02:00
jsjtxietian efa82d5025 fix CollisionShape3D Shape Size handle will missing
when Script editor floating

(cherry picked from commit fec0396cac)
2023-10-19 21:49:00 +02:00
Raul Santos 85ab269796 C#: Fix line in OpenInExternalEditor
(cherry picked from commit 132a1daf1a)
2023-10-19 21:21:02 +02:00
Ninni Pipping 5cc85fb119 Fix indentation in script templates
(cherry picked from commit 39353462ac)
2023-10-19 21:21:02 +02:00
Haoyu Qiu 2192c717a4 Make indentation indicators translatable
(cherry picked from commit a552103531)
2023-10-19 21:17:46 +02:00
Haoyu Qiu 188d9040d3 Fix typo in ResourceImporterImageFont
(cherry picked from commit 80728bdf1e)
2023-10-19 21:06:12 +02:00
Hugo Locurcio c8bd1259af Allow using floating-point bone sizes and outline widths in the 2D editor
This is useful when animating pixel art sprites in the 2D editor,
as a value of `1` is often too large when zoomed in.

(cherry picked from commit a39190a18f)
2023-10-19 21:06:11 +02:00
Rémi Verschelde aae20e5b10
Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303.

Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>

(cherry picked from commit faaf27f284)
2023-10-03 20:45:35 +02:00
Rémi Verschelde c966bdf358
i18n: Sync translations with Weblate (last 4.1 sync) 2023-10-02 17:01:20 +02:00
Yuri Sizov d5fab0ec4c Fix leak when closing theme editor preview tabs
(cherry picked from commit 5e3229b7ed)
2023-09-27 21:03:23 +02:00
A Thousand Ships c941715850 Remove leftover debug print in `FileSystemDock`
(cherry picked from commit 1589efb350)
2023-09-21 15:48:10 +02:00
Chia-Hsiang Cheng e65172237c Avoid duplicating the 'Filters' section
(cherry picked from commit e0cbbe4bbd)
2023-09-21 15:28:24 +02:00
Chia-Hsiang Cheng bad5e93945 Remove animation tracks with correct indices
(cherry picked from commit 3d7facd21c)
2023-09-21 15:28:24 +02:00
trollodel 5e8654decb Make the single window mode check more strict
Check the "interface/editor/single_window_mode" editor settings.

(cherry picked from commit 0f6327b59b)
2023-09-21 15:28:23 +02:00
Spencer Chang c339abe1aa Added path to output of missing import texture metadata
(cherry picked from commit 57d9e3bb0e)
2023-09-21 15:14:04 +02:00
jsjtxietian 1238554f05 Use ui_text_submit to confirm and close text prompts
Fix press space when enter editor layout name will
confirm and save layout, same in theme editor

(cherry picked from commit ba41910967)
2023-09-21 15:14:04 +02:00
David Snopek 113cfdfc69 Fix overriding _export_begin, _export_file and _export_end from GDExtension
(cherry picked from commit d09843c5ae)
2023-09-21 15:14:04 +02:00
Hugo Locurcio 2d480eb632 Uncollapse favorites by default in the editor FileSystem dock
(cherry picked from commit 075bd4b281)
2023-09-21 14:57:13 +02:00
A Thousand Ships c4be3487ca Make editor camera speed indicator use `m/s` and `m`
(cherry picked from commit 8d7a2c615c)
2023-09-21 14:09:19 +02:00
Yuri Sizov 08bd6ba734 Check the native base of scripts when resolving icons
(cherry picked from commit 21c5f86d5d)
2023-09-21 13:35:31 +02:00
kobewi a5b59b596f Don't grab theme icons for scripts
(cherry picked from commit 51f92d1100)
2023-09-21 13:34:46 +02:00
kobewi ef1d0cda30 Automatically add path to built-in scripts
(cherry picked from commit ed6ad376c6)
2023-09-20 22:44:04 +02:00
Dario f6f2b0897a Propagate error correctly when max texture size for lightmaps is too small.
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453.

(cherry picked from commit 7dfb854556)
2023-09-20 22:44:04 +02:00
jsjtxietian f2b6eda210 Fix a crash when enable a plugin uses `make_mesh_previews`
The bug happens when plugin tree is propagating mouse events
(so it is blocked), but EditorProgress's dtor will make main editor
focused and call update_plugins immediately
 which will update the blocked tree.

(cherry picked from commit 7e3a762369)
2023-09-20 22:44:04 +02:00
Hrvoje Varga 8f32e968b8 Fix scene tab close
(cherry picked from commit 51923fc528)
2023-09-20 22:44:03 +02:00
Rindbee 5f46bca824 Fix history mismatch
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")

Update the path of the edited scene when saving the scene. (For action "Add
atlas source")

(cherry picked from commit 28db5e7649)
2023-09-20 22:44:03 +02:00
Rémi Verschelde f2c8eea60e
i18n: Sync translations with Weblate 2023-09-08 12:10:22 +02:00
Markus Sauermann 2d607d7c5c Include Display Server Type in Copy System Info
Add info about X11 or Wayland to System Information on LinuxBSD.

(cherry picked from commit 1712b78e18)
2023-08-31 20:19:31 +02:00
MewPurPur 2c154348fc Make Help.svg not look disabled
(cherry picked from commit 963a63708e)
2023-08-31 20:19:31 +02:00
Haoyu Qiu b0ceeb2341 Hide explicitly specified flag value in Inspector
(cherry picked from commit de83b7166c)
2023-08-31 19:48:16 +02:00
MineBill 4ec566fae2 Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String
(cherry picked from commit c34d5627fb)
2023-08-31 19:48:16 +02:00
Rémi Verschelde 7a86ffc034
i18n: Sync translations with Weblate 2023-08-17 13:23:50 +02:00
kobewi b45e7f0f63 Emit history_changed on merged UndoRedo actions
(cherry picked from commit b6bb0d505d)
2023-07-17 12:05:43 +02:00
WiseNoodle 085b16b1bb Add missing word to text of the alert dialog
(cherry picked from commit d1c70cf7d4)
2023-07-17 12:05:42 +02:00
stmSi 74efa063cc Fix: ESC (ui_cancel) not closing FindReplaceBar
(cherry picked from commit 7eb517c27f)
2023-07-17 12:05:42 +02:00
Septian c1ddd0485b Fix dragged nodes have icon size
(cherry picked from commit 837df886f3)
2023-07-17 12:05:42 +02:00
Aaron Franke e3cfc023b4 Improve text in popup warning, remove "upgrade or downgrade" text
(cherry picked from commit 95ccbdea4b)
2023-07-11 12:21:28 +02:00
Aaron Franke 5729e40035 Improve user-friendliness of project version mismatch message
(cherry picked from commit 3b8a81d361)
2023-07-10 18:09:58 +02:00
Aaron Franke ec6d258db0 Fix property hint class name type string restriction and replace mode
(cherry picked from commit 58a65591f5)
2023-07-10 18:09:58 +02:00
kobewi a79160ebd2 Collapse bottom panel if there is no active tab
(cherry picked from commit 59ae7e2445)
2023-07-10 18:09:58 +02:00
Emmanouil Papadeas 2f32a3454c Fix `Camera2D.rotating` not being converted and reversed properly
Godot 3's Camera2D `rotating = true` and `rotating = false` are supposed to be converted and reversed to `ignore_rotation = false` and `ignore_rotation = true` respectively, but this wasn't the case before this PR, as the project converted was failing to properly read the `true` and `false` strings, thus resulting in `ignore_rotation = true` in all cases.

(cherry picked from commit 256b99ca40)
2023-07-10 18:09:58 +02:00
Rémi Verschelde 29b4ee3d97 Change explicit 'Godot 4.0' references to 'Godot 4'
Fixes #79276.

(cherry picked from commit 8a06ec979e)
2023-07-10 18:09:58 +02:00
RedworkDE 3f334cb144 C#: Fix command line exporting
(cherry picked from commit f3f3365abd)
2023-07-10 17:46:09 +02:00
Yadnesh Kulkarni 09c245fd74 Fixed grid disappearance
(cherry picked from commit a8dde286ce)
2023-07-10 17:46:08 +02:00
Hugo Locurcio fe8e7a0b22 Use bullet points in shader editor creation dialog
This is consistent with the script creation dialog.

(cherry picked from commit bce2985615)
2023-07-10 17:46:07 +02:00
Dawid Marzec 87b4143f3b Fix cursor behaviour in Tree while holding CTRL
(cherry picked from commit 9abbdea95e)
2023-07-10 17:26:15 +02:00
Rémi Verschelde 1875ecb776 Project converter: Use same rendering driver as Project Manager
Which means by default OpenGL 3, but it can still be overridden from the command line.
Fixes #76303.

(cherry picked from commit 53c78b2cac)
2023-07-10 17:26:15 +02:00
jpcerrone 2ba192e803 Fix comments and indentation in .gdshaderinc files
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.

(cherry picked from commit 71b8a9d274)
2023-07-10 17:26:15 +02:00