Commit Graph

7416 Commits

Author SHA1 Message Date
842c3a644f Use FlowContainer to handle toolbar overflow more gracefully 2022-07-20 17:22:36 +03:00
26223fe855 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.
2022-07-19 07:57:43 -04:00
59629fdf20 Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00
66551a94be TileMapEditor Fix interrupted erasing not being properly finished 2022-07-18 22:29:50 +02:00
728a725b7b SpriteFramesEditor Add animation searchbox 2022-07-18 15:47:32 +02:00
556e090bcc i18n: Sync editor translations with Weblate 2022-07-18 10:14:53 +02:00
8ae246f15e AnimatedSprite Fix updating inspector when SpriteFrames is modified 2022-07-13 15:48:11 +02:00
af3a834d0e VCS: Fix wrong number of args passed into _refresh_commit_list 2022-07-09 23:31:44 +05:30
875a0dba5a AssetLib: Only notify when unavailable in verbose mode
(cherry picked from commit dc86bce306)
2022-07-08 16:42:03 +02:00
ad5fdcc0f3 [AssetLib] Fix crash in Web editor.
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.

(cherry picked from commit 0e504e4191)
2022-07-08 14:37:35 +02:00
30ceef93b0 i18n: Sync editor translations with Weblate 2022-07-06 14:59:09 +02:00
b200a011d1 Fix heap-use-after-free when closing a scene with its builtin script open
(cherry picked from commit 61bc7d6576)
2022-07-06 11:45:12 +02:00
da626d8922 Fix FileDialog file name autocompletion with filters
Fixes #38195.

(cherry picked from commit 446f1b7052)
2022-07-06 11:39:04 +02:00
f7c144a180 Update TextureRegion editor when NinePatchRect/StyleBoxTexture changes
Updates the editor when the region rect or margins change.
2022-07-06 14:04:42 +08:00
8d1be8ca35 Fix icon color for Label3D and CPUParticles2D 2022-07-06 12:34:41 +08:00
cda0692159 Rework scene creation dialog 2022-07-05 19:37:59 +02:00
90cf6688f2 Automatically add root node when drag-and-dropping in 3D editor
This also uses correct capitalization scheme for 3D meshes that are
drag-and-dropped, like in the 2D editor.
2022-07-05 00:54:31 +02:00
a8eb779ac3 Backport locale selection improvements. 2022-07-04 11:49:20 +03:00
f089f77c2a Android: Refactor Custom Build options in export preset
Instead of reusing the custom_template/ prefix which is actually only
used for the prebuilt APK workflow, we add a new custom_build/ prefix.

This is a slight compat breakage (users will have to redo their config)
but enables us to group the Min SDK and Target SDK options where they make
sense, and avoid reusing the previously hardcoded Target SDK 30 from
Godot 3.4.

Those two options are now strings instead of integers so that we can keep
them empty by default, and show their default value using a placeholder.
So some validation has been added to make sure they are proper ints.
The upper bound on Target SDK was also removed as it's a common use case
to use it to try to target newer released SDKs. But we warn the user that
this wasn't validated by us.

The export info dialog is now exclusive so that when it doesn't auto-close,
i.e. when it errors, you don't close it by mistake by clicking outside.

Fixes #62465.
2022-07-03 17:09:41 +02:00
63f35d24c6 Use % when dropping unique scene nodes into script
This expands uppon #60708, using `get_node("%NodeName")` for nodes that
have a unique scene name to avoid having to change the onready
statements when the paths of the nodes change.

(cherry picked from commit 1101f6c660)
2022-07-03 03:34:23 +02:00
07953346fa Include quotes conditionally for dropped paths
(cherry picked from commit 995bcd6218)
2022-07-03 03:33:26 +02:00
77a9f3d4d8 Make asset library's column count dynamic
(cherry picked from commit d65eb592b0)
2022-07-03 03:26:12 +02:00
5ccc941a4c [3.x] Remove hardcoded names in generated objects 2022-07-03 00:58:13 +02:00
3000d8d140 Merge pull request #59576 from techiepriyansh/fix-multiple-instances-3.x 2022-07-03 00:22:15 +02:00
bed3d2cbd5 Merge pull request #61169 from DeeJayLSP/wav_ieee_3.x 2022-07-02 22:03:14 +02:00
ad77a3f2f7 Stretch image on resize in asset description dialog
(cherry picked from commit 924658a849)
2022-07-02 00:08:56 +02:00
c9b9bf5437 recolor Remove Theme Items icons from Godot 4 colors to Godot 3
follow-up to #62559.
we found more icons that mistakenly had the Godot 4 colors,
so i fixed them too.
2022-07-01 09:38:23 +02:00
a13b3028a2 Add an option to drag'n'drop selected text in TextEdit
(cherry picked from commit 5d56efcaa4)
2022-06-30 19:23:01 +02:00
916fee78bd recolor FlowContainer icons to the same color as Control icon
according to the discussion in issue #62553,
the FlowContainer icons don't get color-adjusted for Light theme
and it's because the color code is off.

to fix this issue, i recolored them to be the same icon as the Control icon,
an icon that i already know Does get recolored for Light theme.
2022-06-30 18:01:49 +02:00
f29241fa1e i18n: Sync editor translations with Weblate 2022-06-29 12:08:19 +02:00
4356b5abf8 Fix prompt dialog title for Animation operations 2022-06-23 13:03:38 +08:00
80d1fc87af Tweak editor icons for navigation nodes and SkeletonIK
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-06-20 22:29:09 +08:00
608c5e42fa Merge pull request #62196 from timothyqiu/deselect 2022-06-20 15:36:30 +02:00
92ffbceee1 Stop game on reloading project
(cherry picked from commit 8935cf17cf)
2022-06-20 14:56:57 +02:00
000499662b i18n: Sync editor translations with Weblate 2022-06-19 13:57:04 +02:00
4137578369 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 13:48:15 +02:00
acd4a01b8c ProjectSettings: Ensure 'editor/' settings aren't nested
Having a mix of settings with and without subcategory makes the 'Editor'
section stand out with a weird UX, as instead of simply being a foldable
section like the others, it also holds its own top-level settings and is
therefore selectable.

This wasn't the case in 3.4, and is fixed in 4.0 by refactoring, so for
3.5 we should preserve the 3.4 UX, even if it's not the best.
2022-06-19 11:47:19 +02:00
a3777a7c38 Fix EditorFileDialog filename default selection 2022-06-19 10:40:33 +08:00
135c252a38 i18n: Sync editor translations with Weblate 2022-06-16 20:59:13 +02:00
fec7e13b02 Allow folding in sub-inspectors in Array and Dictionary editors
(cherry picked from commit 4e469886e8)
2022-06-16 10:10:21 +02:00
6ecdef84cf Merge pull request #62085 from KoBeWi/underscore_of_ruin
Fix NodePath property dragging
2022-06-16 08:30:11 +02:00
4e7363cac7 Merge pull request #61996 from smix8/navigation_bp_update_3.x
[3.5] Update NavigationServer backport
2022-06-16 00:17:16 +02:00
728d90b649 Fix NodePath property dragging 2022-06-16 00:09:14 +02:00
8bd7c6188b [3.5] Update NavigationServer backport
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
2022-06-14 05:55:14 +02:00
f702828c37 Print messages when textures are detected as used in 3D/normal map
This detection automatically changes some import options, so it's
important that users are aware of this.
2022-06-13 20:13:30 +02:00
11a7997a67 [Windows, 3.x] Add support for handling network share paths. 2022-06-13 09:24:35 +03:00
512b70858c Fix scene tree dock focus after using "Add Child Node" button 2022-06-12 13:03:01 +08:00
dccd925aff Rename "Convert to Mesh2D" to "Convert to MeshInstance2D" in the editor
These actions create MeshInstance2D nodes, not Mesh2D resources.
2022-06-11 20:26:56 +02:00
4f133d2d72 Don't handle pending clicks outside scene tree
(cherry picked from commit ec6bbd486f)
2022-06-10 15:46:01 +02:00
4da772d5c9 Add tooltips to Export dialog icon buttons
(cherry picked from commit f78943b08b)
2022-06-10 12:58:41 +02:00