Commit Graph

7411 Commits

Author SHA1 Message Date
Rémi Verschelde 0b4e600f2b
Merge pull request #64895 from Calinou/editor-help-add-kbd-tag-3.x 2022-08-25 21:43:22 +02:00
Hugo Locurcio ed380cc0fa
Add a `[kbd]` tag for highlighting keyboard shortcuts in the editor help
This allows backporting documentation from the `master` branch more easily,
as it already features the `[kbd]` tag.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-08-25 19:53:49 +02:00
Hugo Locurcio 576da2bd50
Remove unused Create Signal Callbacks editor setting
This setting wasn't referred to anywhere.
2022-08-25 19:22:12 +02:00
reduz 2c92594fa6 Simplify Subresource Saving
Redo edited subresource (and resource) saving in a much more simplified way.
I think this should work (unless I am missing something) and be faster than what is there.
It should also supersede #55885.

I am not 100% entirely convinced that this approach works, but I think it should so please test.

(cherry picked from commit 9eb5f2a0d7)
2022-08-24 17:52:15 +02:00
Jummit fd91b2dbb9 Keep Perspective menu open on selection
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.

(cherry picked from commit e3ab344af9)
2022-08-24 17:52:15 +02:00
Hugo Locurcio a53264ab41 Add support for documenting most editor settings in the class reference
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 63ce655e75)
2022-08-24 17:22:48 +02:00
Aaron Franke 284af7be96 Allow exporting PCK files without export templates installed
(cherry picked from commit 8d81ce9561)
2022-08-24 17:08:47 +02:00
Rémi Verschelde ac9bdabe5b
Merge pull request #50180 from Calinou/gpu-particles-improve-visibility-generation-3.x 2022-08-23 21:38:28 +02:00
Hugo Locurcio cf002d4a99
Improve visibility rect/AABB generation usability in Particles
- Don't display the time dialog if the automatically calculated
  generation time is short enough.
- Clarify the purpose of waiting in the progress dialog.
2022-08-23 14:25:06 +02:00
Rémi Verschelde 3f82c157af
Merge pull request #64375 from RandomShaper/inheritable_cl_args_3.x 2022-08-22 22:29:01 +02:00
Pedro J. Estébanez 4dd3e95377 Overhaul CLI argument forwarding to processes started by the editor 2022-08-19 11:13:56 +02:00
kleonc 6417b999ee `SceneTreeDock` Toggling unique name in owner for all selected nodes 2022-08-16 15:02:28 +02:00
Yuri Sizov d9dddf3a68
Merge pull request #64283 from KoBeWi/g3t_no_color
[3.x] Optimize theme usage in editor log
2022-08-15 16:42:03 +03:00
Fredia Huya-Kouadio d2213f76a9 Refactor the export checking logic to improve separation of concerns 2022-08-14 08:47:09 -07:00
kleonc e1fb4b4f21 `SpriteFramesEditor` Reallow deselecting frame with LMB press in select frames dialog 2022-08-13 13:26:37 +02:00
kobewi c65360eed1 Optimize theme usage in editor log 2022-08-12 16:38:36 +02:00
Rémi Verschelde c18ef0df08
Merge pull request #63197 from rcorre/fix-copy-node-path 2022-08-08 17:53:21 +02:00
Rémi Verschelde 36fc99158d
Merge pull request #63971 from paddy-exe/spatial-shader-built-ins 2022-08-08 15:50:25 +02:00
Rémi Verschelde 4f1dc83b0d
Merge pull request #64044 from Calinou/add-torusmesh-3.x 2022-08-08 15:37:58 +02:00
Rémi Verschelde 5b4e7a0693
Merge pull request #64071 from Calinou/3d-editor-remove-alt-fov-adjustment-3.x 2022-08-08 12:00:22 +02:00
Chia-Hsiang Cheng c9e59457e5 Disable the OK button when no node is selected.
(cherry picked from commit 83d478ffcd)
2022-08-08 10:52:14 +02:00
Grzegorz Puławski 1799189202 Fix axis snapping of CollisionPolygon2d's newly created vertex
(cherry picked from commit ba58491ca7)
2022-08-08 10:52:14 +02:00
kleonc 666ca36b99 `FileSystemDock` Fix crash when renaming a file in split mode
(cherry picked from commit 25ce459fc5)
2022-08-08 09:47:53 +02:00
foxydevloper 543e74a988 Improve tooltips for grouping/ungrouping nodes
(cherry picked from commit 1ff9a09e2c)
2022-08-08 09:40:48 +02:00
Hugo Locurcio 53f4ff243d
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).
2022-08-07 19:47:22 +02:00
hoontee 53adb2a142
Add `TorusMesh` 2022-08-07 12:42:24 +02:00
Rémi Verschelde ab7e2564f3
Merge pull request #63659 from PrecisionRender/add-shape-cast-3d
[3.x] Add `ShapeCast` and `ShapeCast2D` nodes
2022-08-06 00:33:29 +02:00
Rémi Verschelde 0dccbcd7ce
Merge pull request #61878 from bruvzg/backport_locale_select
[3.x] Backport locale selection improvements.
2022-08-05 23:45:17 +02:00
Patrick Exner be3d331f26 Backport spatial shader built-ins
Backport of this PR: https://github.com/godotengine/godot/pull/63597
This adds these as new Built-Ins to Spatial Shaders
* Object's Position in World Space
* Camera Position in World Space
* Camera Direction in World Space
* Object's Position in View Space
2022-08-05 21:19:15 +02:00
Rémi Verschelde 74de571827
Merge pull request #55626 from Calinou/3d-editor-drag-and-drop-auto-root-node-3.x 2022-08-05 19:38:45 +02:00
Rémi Verschelde 1b7037807f
Merge pull request #59328 from raulsntos/csharp-flag-enums-3.x 2022-08-05 19:37:29 +02:00
Rémi Verschelde 173a803c8a
Merge pull request #49495 from kleonc/sprite_frames_editor-updating-fixes-3x 2022-08-05 19:35:30 +02:00
Rémi Verschelde a6e70f1f1c
Merge pull request #63250 from YuriSizov/toolbars-go-with-the-flow-3.x 2022-08-05 19:34:21 +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
PrecisionRender 47a62e28ac [3.x] Add `ShapeCast` and `ShapeCast2D` nodes 2022-07-30 10:23:58 -05: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
Alfred R. Baudisch f00ee23b7a Script Editor: Don't switch to 2D/3D viewports when selecting nodes
Selecting nodes in the Scene dock automatically switches to the relevant 2D
or 3D viewport. This behavior can be annoying while using the Script Editor
and wanting to inspect node properties, so it's now disabled by default when
the Script Editor is active.

This new behavior can be changed back to the previous auto-switching using
the `text_editor/navigation/stay_in_script_editor_on_node_selected` editor
setting.

(cherry picked from commit c4433c3793)
2022-07-26 11:01:53 +02:00
Rémi Verschelde 818f1eed31 Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Nathan Franke 14e3d478e1 dependency editor: set current directory to closest existing directory
(cherry picked from commit 905c431191)
2022-07-25 11:42:42 +02:00
bruvzg d6698c1f81 [Command line export] return 0 exit code when export is finished with warnings.
(cherry picked from commit d02bf7584a)
2022-07-25 11:32:59 +02:00
kobewi e71cf7c560 Fix node dragging not working when dock is moved
(cherry picked from commit b42bbca266)
2022-07-22 01:02:16 +02:00
Yuri Sizov 842c3a644f Use FlowContainer to handle toolbar overflow more gracefully 2022-07-20 17:22:36 +03:00
Ryan Roden-Corrent 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
Rémi Verschelde 59629fdf20
Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00
kleonc 66551a94be `TileMapEditor` Fix interrupted erasing not being properly finished 2022-07-18 22:29:50 +02:00
kleonc 728a725b7b SpriteFramesEditor Add animation searchbox 2022-07-18 15:47:32 +02:00
Rémi Verschelde 556e090bcc i18n: Sync editor translations with Weblate 2022-07-18 10:14:53 +02:00
kleonc 8ae246f15e AnimatedSprite Fix updating inspector when SpriteFrames is modified 2022-07-13 15:48:11 +02:00
Twarit Waikar af3a834d0e VCS: Fix wrong number of args passed into _refresh_commit_list 2022-07-09 23:31:44 +05:30
Rémi Verschelde 875a0dba5a AssetLib: Only notify when unavailable in verbose mode
(cherry picked from commit dc86bce306)
2022-07-08 16:42:03 +02:00
Fabio Alessandrelli 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
Rémi Verschelde 30ceef93b0 i18n: Sync editor translations with Weblate 2022-07-06 14:59:09 +02:00
Haoyu Qiu 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
Thakee Nathees da626d8922 Fix FileDialog file name autocompletion with filters
Fixes #38195.

(cherry picked from commit 446f1b7052)
2022-07-06 11:39:04 +02:00
Haoyu Qiu 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
Haoyu Qiu 8d1be8ca35 Fix icon color for Label3D and CPUParticles2D 2022-07-06 12:34:41 +08:00
kobewi cda0692159 Rework scene creation dialog 2022-07-05 19:37:59 +02:00
Hugo Locurcio 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
bruvzg a8eb779ac3
Backport locale selection improvements. 2022-07-04 11:49:20 +03:00
Rémi Verschelde 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
Jummit 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
kobewi 07953346fa Include quotes conditionally for dropped paths
(cherry picked from commit 995bcd6218)
2022-07-03 03:33:26 +02:00
python273 77a9f3d4d8 Make asset library's column count dynamic
(cherry picked from commit d65eb592b0)
2022-07-03 03:26:12 +02:00
Shatur95 5ccc941a4c [3.x] Remove hardcoded names in generated objects 2022-07-03 00:58:13 +02:00
Rémi Verschelde 3000d8d140
Merge pull request #59576 from techiepriyansh/fix-multiple-instances-3.x 2022-07-03 00:22:15 +02:00
Rémi Verschelde bed3d2cbd5
Merge pull request #61169 from DeeJayLSP/wav_ieee_3.x 2022-07-02 22:03:14 +02:00
Kirill ad77a3f2f7 Stretch image on resize in asset description dialog
(cherry picked from commit 924658a849)
2022-07-02 00:08:56 +02:00
Sosasees 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
ConteZero 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
Sosasees 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
Rémi Verschelde f29241fa1e i18n: Sync editor translations with Weblate 2022-06-29 12:08:19 +02:00
Haoyu Qiu 4356b5abf8 Fix prompt dialog title for Animation operations 2022-06-23 13:03:38 +08:00
Hugo Locurcio 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
Rémi Verschelde 608c5e42fa
Merge pull request #62196 from timothyqiu/deselect 2022-06-20 15:36:30 +02:00
cow-neaz 92ffbceee1 Stop game on reloading project
(cherry picked from commit 8935cf17cf)
2022-06-20 14:56:57 +02:00
Rémi Verschelde 000499662b i18n: Sync editor translations with Weblate 2022-06-19 13:57:04 +02:00
Rémi Verschelde 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
Rémi Verschelde 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
Haoyu Qiu a3777a7c38 Fix EditorFileDialog filename default selection 2022-06-19 10:40:33 +08:00
Rémi Verschelde 135c252a38 i18n: Sync editor translations with Weblate 2022-06-16 20:59:13 +02:00
FireForge fec7e13b02 Allow folding in sub-inspectors in Array and Dictionary editors
(cherry picked from commit 4e469886e8)
2022-06-16 10:10:21 +02:00
Rémi Verschelde 6ecdef84cf
Merge pull request #62085 from KoBeWi/underscore_of_ruin
Fix NodePath property dragging
2022-06-16 08:30:11 +02:00
Rémi Verschelde 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
kobewi 728d90b649 Fix NodePath property dragging 2022-06-16 00:09:14 +02:00
smix8 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
Hugo Locurcio 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
bruvzg 11a7997a67 [Windows, 3.x] Add support for handling network share paths. 2022-06-13 09:24:35 +03:00
Haoyu Qiu 512b70858c Fix scene tree dock focus after using "Add Child Node" button 2022-06-12 13:03:01 +08:00
Hugo Locurcio 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
kobewi 4f133d2d72 Don't handle pending clicks outside scene tree
(cherry picked from commit ec6bbd486f)
2022-06-10 15:46:01 +02:00
Haoyu Qiu 4da772d5c9 Add tooltips to Export dialog icon buttons
(cherry picked from commit f78943b08b)
2022-06-10 12:58:41 +02:00
Danny Chung 0ba78201ae Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.

(cherry picked from commit 09658f7e3b)
2022-06-10 10:25:37 +02:00
kobewi 714891ace8 Properly release LMB even while panning 2022-06-09 14:02:58 +02:00
kobewi fe13b94a14 Improve title of DependencyEditorOwners
(cherry picked from commit 847eee71df)
2022-06-09 10:55:17 +02:00
Johannes Witt 2570df7fd8 Fix `EditorSpinSlider` mouse reset position on tree exit
(cherry picked from commit 784b1adb18)
2022-06-09 10:55:17 +02:00
bruvzg f5fa1ca944
Add readable export errors. Add RTL image vertical alignment support. 2022-06-08 17:56:28 +03:00
Rémi Verschelde f1eab40cda i18n: Sync editor translations with Weblate
Remove some translation templates which were empty or almost empty
(less than 10 strings translated, years without further activity).
2022-06-08 13:16:32 +02:00
Rémi Verschelde 80b82e4e66 i18n: Misc fixes translation strings
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:56:42 +02:00
Rémi Verschelde 9ca190dfe5
Merge pull request #61718 from ArshPanesar/Fixed-Populating-MultimeshInstance-Crash
Fixed Issue #61553 - Populating MultimeshInstance Crash
2022-06-07 14:12:02 +02:00
Arsh Panesar 84a6407286 Fixed Populating MultimeshInstance Crash
When populating a MultimeshInstance (node), Godot would set the
new Multimesh's color and custom data format as the current node's
multimesh, which would cause a crash if node's multimesh is null.

Populate Function will now check if node has a multimesh or not, and
set the new multimesh with default (NONE) values if node's multimesh is
null.

Fixes Issue #61553
2022-06-07 09:27:48 +05:30
Haoyu Qiu 03e84abfa5 Fix empty space after project sort options 2022-06-04 00:20:09 +08:00
Rémi Verschelde 61ae6b521e
Merge pull request #61482 from Calinou/profiler-increase-frame-history-3.x 2022-06-03 12:51:26 +02:00
Rémi Verschelde 5be04c9153 i18n: Sync editor translations with Weblate 2022-06-01 00:37:03 +02:00
kobewi 309ad643a9 Hide redundant categories from project settings
(cherry picked from commit 1a9635cc57)
2022-06-01 00:29:46 +02:00
Yuri Sizov fee968bc26 Improve the Export All button display in the export dialog 2022-05-31 20:44:23 +03:00
Rémi Verschelde 0acd1ca850
Merge pull request #61266 from smix8/navigation_tilemap_poly_3.x 2022-05-31 11:25:00 +02:00
Hugo Locurcio c209c6faba
Increase the editor profiler frame history default and maximum limit
The new default value (1800) allows storing 30 seconds of profiling
at 60 FPS.

The new maximum value (10000) allows storing about 3 minutes of
profiling at 60 FPS.

The profiler graph will scale accordingly to the chosen setting,
so the default value is kept relatively low to prevent the graph
from looking too squished on narrow displays.
2022-05-28 01:05:34 +02:00
FireForge e5db39d07b Remove extra space in property editors
- NodePath, Resource, and multiline string
2022-05-25 19:04:44 -05:00
Rémi Verschelde 78c54043ce HTML5: Always disable Asset Library
GitHub doesn't allow CORS so we can't download assets from it.

There'd also be more work needed for the Asset Library plugin to be
usable in the Web editor even if that was supported.

(cherry picked from commit 42b48496de)
2022-05-25 14:51:43 +02:00
Rémi Verschelde 1b297eb047 Project Manager: Fix crash on resize with assetlib disabled
Follow-up to #61215.

(cherry picked from commit 6f5be1f1f0)
2022-05-25 14:07:33 +02:00
lawnjelly cdba2935a1 Fix Occluder Poly gizmo warning spam
The call to draw the handles in the OccluderPoly was spamming errors when the hole has no points. This PR prevents trying to draw the gizmo for the hole when there are no points, which prevents the spam.
2022-05-25 10:50:15 +01:00
Rémi Verschelde cb1ffbd0f6
Merge pull request #61383 from ChronicallySerious/fix-commit-list-size 2022-05-24 23:49:55 +02:00
ChronicallySerious 6f3975691e VCS: Change Commit list size button signal to item_selected
This is in contrast to the previous signal in use - "pressed", which doesn't get emitted on simple clicks on the OptionButton to open the popup.

Also, fixes the ids using which the metadata was being set on the items on the commit list. The commit list size button items now work as expected
2022-05-25 03:02:13 +05:30
ChronicallySerious da563916e6 VCS: Don't assume Commit tab will stay at default location 2022-05-25 02:22:02 +05:30
smix8 1bac95b166 Fix TileSetEditor wrong NavigationPolygon format
TileSets created and stored NavigationPolyons in a format that did not work for Navigation.
2022-05-24 19:07:41 +02:00
Rémi Verschelde 573706bd24
Merge pull request #61212 from Calinou/project-manager-filter-order-swap-3.x 2022-05-24 00:18:06 +02:00
Rémi Verschelde 27372da450
Merge pull request #61306 from Calinou/editor-theme-gray-tweak-accent-color-3.x 2022-05-24 00:15:36 +02:00
Rémi Verschelde f13b47d9e2 Remove mistakenly committed file 2022-05-24 00:10:44 +02:00
Rémi Verschelde bf2c722a25 i18n: Sync editor translations with Weblate 2022-05-24 00:06:20 +02:00
kobewi 8f52320310 Only switch to node when not dragging it
(cherry picked from commit 95bbffff48)
2022-05-24 00:06:20 +02:00
Rémi Verschelde 88dba8e625 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Hugo Locurcio c88bb64b45
Increase saturation of accent color on the Grey editor theme preset
This makes activated icons easier to distinguish from non-activated icons.
2022-05-23 10:24:01 +02:00
bruvzg d502bd4847
Backport TextMesh and expose dynamic font vector outlines 2022-05-23 10:47:28 +03:00
bruvzg dc6d8d6098
Backport Label3D node implementation and Sprite*3D material render priority. 2022-05-23 09:14:41 +03:00
kleonc 4855fc67aa EditorPropertyArray Fix crash when drag-reordering elements in the inspector
(cherry picked from commit 33b2970492)
2022-05-22 19:43:56 +02:00
Haoyu Qiu 78ec40e9ff Fix incorrect separators in Scene tree menu 2022-05-22 23:19:21 +08:00
bruvzg b5d5515a2b Fix incorrect encoding used in _error_handler functions
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-05-22 18:56:41 +08:00
SnailRhymer d5cc93c840 Fix _class_desc_select to handle Variant.Type
Change the order of checks in _class_desc_select to first try checking current page and GlobalScope before resorting to slicing either side of the first ".". This may change previous search behaviours - previously if both x.y and @GlobalScope.x.y existed, _class_desc_select would select the former; it will now select the latter.

Also tidies up some comments.
2022-05-21 12:29:48 +01:00
Hugo Locurcio 13284f3a7b
Swap the filter and order fields in the project manager
This matches 4.0 project manager presentation, with filter appearing
on the left and order on the right.
2022-05-21 09:50:06 +02:00
Hugo Locurcio bc91b89203
Fix project manager display at small window sizes
- Don't use minimum size for project order/filter controls.
  This also allows the filter field to become longer at large
  window sizes.
- Hide the loading label instead of changing its opacity.
  This causes a reflow during loading, but this is preferable to having
  the UI overflow.
- Hide the language dropdown on Android as it doesn't work correctly.

This allows the project manager to be displayed correctly at much
lower window sizes than previously.
2022-05-20 16:55:02 +02:00
Aaron Franke 08a397c4b7
Tweaks to improve the Project Manager display at small sizes 2022-05-20 16:51:06 +02:00
Haoyu Qiu d54b60233a Properly clean `button_add_item` ref in Dict property editor
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-05-19 19:20:59 +08:00
Haoyu Qiu b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Douglas Leão f4228045f7 [3.x] ResourceImporterWAV: Add support for 64-bit IEEE float 2022-05-18 19:55:06 -03:00
Yuri Rubinsky 32b9818965 Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
Rémi Verschelde caeae1f949 i18n: Sync editor translations with Weblate 2022-05-17 23:41:31 +02:00
Haoyu Qiu b611b4cddc Create onready variables when dropping nodes and holding Ctrl 2022-05-17 11:52:17 +08:00
FireForge 5968dbd747 Expose EditorSpinSlider.hide_slider
(cherry picked from commit 8e752b06e8)
2022-05-16 21:12:21 +02:00
Haoyu Qiu 59151db99e Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-05-16 21:12:21 +02:00
kleonc 06b7f218c6 AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0b)
2022-05-16 16:00:03 +02:00
FireForge f17c5fa7bd Add interpolation modes to Gradient
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00
Rémi Verschelde 6e07417abb
Merge pull request #60804 from RedHeadphone/patch-1 2022-05-10 11:01:45 +02:00
Red Headphone a0acb41379 fix: no quit confirmation on project reload if files are saved 2022-05-10 14:02:55 +05:30
Hugo Locurcio 8682874419
Rename profiler "Idle Time" to "Process Time"
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.

This also changes some debug prints to be printed only when verbose
mode is enabled (like in `master`).
2022-05-06 19:31:31 +02:00
Haoyu Qiu 809a0362c1 Make import defaults inspector honor property style settings 2022-05-06 22:24:51 +08:00
Fabio Alessandrelli 225e75daba [3.x] [Debugger] Add --debug-server CLI option.
Automatically starts the editor debug server at given <IP>:<PORT>.

E.g.:
 # Run editor and debug server listening on any interface, port 8080
godot3 -e --path proj/proj_empty --debug-server *:8080

 # Run the godot project connecting to that debug server.
godot3 --path proj/proj_empty --remote-debug 127.0.0.1:8080
2022-05-06 14:02:00 +02:00