Commit Graph

7314 Commits

Author SHA1 Message Date
Yuri Sizov 0dfc9d044f
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-08-28 16:40:31 +02:00
Haz 2783deb939
Fix mesh library remove selected item menu option
Fixes #45969.

(cherry picked from commits 189acbee60
and aa9d2149e7)
2023-08-28 16:23:00 +02:00
Haoyu Qiu 57ad3e9670
Fix OccluderPolyShape handles disappear after release click
(cherry picked from commits dd3bda9156
and 98803d4edd)
2023-08-19 00:39:54 +02:00
Ninni Pipping 8c1a8d4396
[3.x] Fix trim when importing WAV
(cherry picked from commit 5cd47a1984)
2023-08-19 00:36:26 +02:00
Ninni Pipping 86fbd1514e
[3.x] Bounds fixes in `TextureAtlas` import
(cherry picked from commit e34619a605)
2023-08-19 00:36:14 +02:00
Haoyu Qiu 05ce396e8b
Fix inconsistent file dialog settings usage
(cherry picked from commit 392f65fe09)
2023-08-19 00:36:13 +02:00
DashCell 8d60beea1b
TileSet: Fix resizing collision shape when vertex is outside the tilesheet
Fixes #34970.

(cherry picked from commit 424bda217c)
2023-08-19 00:36:12 +02:00
Rémi Verschelde b06d93aec6
i18n: Sync editor translations with Weblate (3.5 branch) 2023-01-20 12:26:52 +01:00
Haoyu Qiu 91a85e50b4
Fix error when dropping script into script editor
(cherry picked from commit bdcfb0877b)
2023-01-11 14:56:34 +01:00
Rémi Verschelde 16f6a5b139
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:32:59 +01:00
Rémi Verschelde c4a9b42297
Fix typos with codespell 2022-12-15 12:27:58 +01:00
Rémi Verschelde ee8986e146
i18n: Sync editor translations with Weblate (3.5 branch) 2022-12-13 14:33:47 +01:00
kobewi 855bee2305
Fix crash in EditorPropertyArray
(cherry picked from commit d80a2a89f0)
2022-12-12 14:46:16 +01:00
alex-pahdo 29c309c2da Add more info to WAV import errors
Print mismatched header contents and file size, which can provide more clues to users when debugging.

(cherry picked from commit f5d256b118)
2022-12-12 13:23:37 +08:00
Windy Darian c49ee15487 Don't try to import unknown dependency from scan
Only import dependency we know how to import, since custom resource may have .gd in dependency list which doesn't have an importer

(cherry picked from commit 0463a445c4)
2022-12-05 10:11:55 +08:00
Rémi Verschelde 4ee12fa80b Project Manager: Fix hacky code for project rename
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.

Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.

Fixes #25661.

(cherry picked from commit f21f75eb6f)
2022-12-05 10:10:15 +08:00
kleonc f0668f5a3f Fix checking if script is attached to any node belonging to scene
(cherry picked from commit 7f7966e10a)
2022-12-05 10:08:34 +08:00
Rémi Verschelde 76f219adb6 Debugger: Fix fetching source to link C++ error on GitHub
Fixes #66974.

(cherry picked from commit 4d29346a74)
2022-12-05 10:08:05 +08:00
Mark Riedesel 394bfa0e02 Handle closed splines in Collada importer
(cherry picked from commit 8f7ab02bc6)
2022-12-05 10:04:58 +08:00
kleonc 8065ac29c5 `SpriteFramesEditor` Fix calculating frame index from mouse position
(cherry picked from commit d135957987)
2022-12-05 10:04:38 +08:00
Alfred Reinold Baudisch 50dfb52514 Cast dragged file extension name to lowercase, closes #68104
(cherry picked from commit 07e367cb0b)
2022-12-05 10:02:49 +08:00
asalazar516 b07bcf5592 [3.x] Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request
(cherry picked from commit fd101d9def)
2022-12-05 09:45:23 +08:00
Marius Hanl 3f3597ac0d Update project window title when a project setting was changed
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
(cherry picked from commit 9ea2ef7c44)
2022-12-05 09:39:22 +08:00
Haoyu Qiu 3898521246 Improve dragging scene into 3D viewport
(cherry picked from commit f32f4ec051)
2022-12-05 09:33:52 +08:00
Haoyu Qiu 568401878f Fix spatial gizmo still active when node is deselected
(cherry picked from commit 0025ab89c7)
2022-12-05 09:31:52 +08:00
Haoyu Qiu 15681a6761 Fix wrong owner for editor plugin created nodes in instanced scene
(cherry picked from commit d50cfd9f18)
2022-12-05 09:30:25 +08:00
Rémi Verschelde 7ee90a080f i18n: Sync editor translations with Weblate (3.5 branch) 2022-09-27 23:50:14 +02:00
Michael Alexsander 6cc1dc309f Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:27:52 +02:00
dzil123 26f7c0f1df Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:27:08 +02:00
Rémi Verschelde eae3689153 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:27:02 +02:00
kleonc 0dad6d30ea `SpriteFramesEditor` Reallow deselecting frame with LMB press in select frames dialog
(cherry picked from commit e1fb4b4f21)
2022-09-20 10:24:09 +02:00
Rémi Verschelde 367ffd10c8 i18n: Sync editor translations with Weblate (3.5 branch) 2022-09-09 14:41:34 +02:00
lawnjelly be2739b1c7 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.

(cherry picked from commit c8a39f6fb3)
2022-09-09 14:30:08 +02:00
lawnjelly 28800cfb23 FindBar fix uninitialized results_count
Found by Valgrind.

(cherry picked from commit c254e97c6b)
2022-09-09 14:29:26 +02:00
Atlinx d3a86d6829 Add missing parameters for signal in docs
(cherry picked from commit 0e3097c023)
(cherry picked from commit f624acef42)
2022-08-30 11:14:50 +02:00
kleonc 480e7ffd4a `SceneTreeDock` Toggling unique name in owner for all selected nodes
(cherry picked from commit 6417b999ee)
2022-08-30 11:14:21 +02:00
kobewi 7c349574d7 Optimize theme usage in editor log
(cherry picked from commit c65360eed1)
2022-08-29 17:07:11 +02:00
Ryan Roden-Corrent f0d7931de6 Don't process input in hidden EditorProperty.
This causes EditorProperty nodes to intercept input events even when the
Editor Properties dialog is not visible. This means that after closing
the dialog, ctrl+shift+c will still copy the last selected property
path.

Fixes #62866.

(cherry picked from commit 26223fe855)
2022-08-29 17:05:47 +02:00
Yuri Sizov b779a2332b Use FlowContainer to handle toolbar overflow more gracefully
(cherry picked from commit 842c3a644f)
2022-08-08 13:35:36 +02:00
kleonc 2f0577fb0f AnimatedSprite Fix updating inspector when SpriteFrames is modified
(cherry picked from commit 8ae246f15e)
2022-08-08 13:34:05 +02:00
Hugo Locurcio 77d596088e Remove FOV adjustment with Alt + mouse wheel in the 3D editor
This shortcut got in the way when using the Maya navigation scheme,
and also when using the slow freelook modifier (regardless of
navigation scheme).

(cherry picked from commit 53f4ff243d)
2022-08-08 13:20:42 +02:00
Chia-Hsiang Cheng 396955b4f2 Disable the OK button when no node is selected.
(cherry picked from commit 83d478ffcd)
2022-08-08 13:20:08 +02:00
Grzegorz Puławski 1f1bed15ba Fix axis snapping of CollisionPolygon2d's newly created vertex
(cherry picked from commit ba58491ca7)
2022-08-08 13:19:17 +02:00
kleonc 1a023e6b1b `FileSystemDock` Fix crash when renaming a file in split mode
(cherry picked from commit 25ce459fc5)
2022-08-08 13:17:34 +02:00
Rémi Verschelde 4e64c1f1b6 i18n: Sync editor translations with Weblate 2022-08-05 03:09:55 +02:00
Alfred R. Baudisch c574f718b1 Display sub-plugins when Stay in Script Editor is On
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.

With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.

Fixes and closes #63621.

(cherry picked from commit eaaedb24a3)
2022-08-03 15:02:57 +02:00
bruvzg e0101e511c Improve some export error messages.
(cherry picked from commit ea00cf7270)
2022-08-01 10:37:04 +02:00
Rémi Verschelde 5e66d2e2c4 i18n: Sync editor translations with Weblate 2022-07-27 15:31:01 +02:00
Pedro J. Estébanez 27aa752335 Keep crash handler status on editor restart
(cherry picked from commit 116f03a1b6)
2022-07-27 15:23:50 +02:00
Hugo Locurcio 7edd5e4b39 Require ScriptInstance to be valid in the editor debugger
This fixes an issue with visual scripts spamming error messages
in the editor when running the project with the remote scene tree
visible.

(cherry picked from commit 829c824755)
2022-07-26 11:01:55 +02:00