Commit graph

7443 commits

Author SHA1 Message Date
Rémi Verschelde
ed109b3938 i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 7ee90a080f)
2022-09-27 23:52:09 +02:00
Micky
eccc802d7e [3.x] Fix crash when ScriptEditor accesses Script with no language set 2022-09-23 13:58:31 +02:00
Micky
84f0e470a1 [3.x] Add type icons to editor docs' hierarchy
Backport of #64847 and #65248
2022-09-21 22:24:37 +02:00
Micky
9d4bc8528e [3.x] Make "Access as Unique Name" a shortcut
Backport of #65134
2022-09-21 21:31:40 +02:00
bruvzg
47d2b4e732
[macOS export, 3.x] Simplify code signing options, add support for rcodesign tool for signing and notarization. 2022-09-21 10:37:25 +03:00
Michael Alexsander
13fec0a237 Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:26:17 +02:00
dzil123
c86f4c7f58 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
c8a748e7b6 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:26:17 +02:00
Fredia Huya-Kouadio
1f23bac645 Disable menus and functionality that are not relevant on the Android Editor port 2022-09-13 07:38:07 -07:00
Rémi Verschelde
fd1af84bf5
Merge pull request #64358 from kleonc/sprite-frames-dialog-deselect-frame-lmb-3x 2022-09-13 10:41:41 +02:00
Rémi Verschelde
74097dc3ab i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 367ffd10c8)
2022-09-09 14:51:14 +02:00
Micky
b21a3418f4 Fix tool script button color overriding custom type color
Also adds a small note on the tooltip noting the custom type.

(cherry picked from commit 65cc721eb9)
2022-09-09 14:13:49 +02:00
Rémi Verschelde
bfe60393f5
Merge pull request #65503 from m4gr3d/fix_invalid_project_manager_path_3x 2022-09-08 09:48:43 +02:00
Fredia Huya-Kouadio
4be7c91cd9 Fix issue causing the project manager to crash because of missing path argument
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:25:22 -07:00
Fredia Huya-Kouadio
63df48a59c Enable long press, pan and scale gestures for the Godot Android Editor
Fix the bug causing the editor to crash when running the project.
2022-09-07 13:29:31 -07:00
Abhinav Chennubhotla
8acc25578e Fix code folding icon color not matching defined color
Cherrypick of #58457 in master

Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.

    - Create new icons for use specifically in the code editor
    - Add these icons to the exceptions when converting dark theme icons
    to light theme automatically
    - Change the default value of the code folding color to match previous
    color
    - Code folding icon is now pure white by default to correctly match
    the color defined in settings
2022-09-06 21:50:33 +05:30
Rémi Verschelde
930395af6e Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
2022-09-06 12:31:26 +02:00
Rémi Verschelde
ab8d55ca28 Merge pull request #65412 from lawnjelly/findbar_uninit
FindBar fix uninitialized results_count
2022-09-06 12:31:02 +02:00
lawnjelly
c8a39f6fb3 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
2022-09-06 10:02:22 +01:00
Rémi Verschelde
bc14fc7039
Merge pull request #65400 from m4gr3d/disable_android_editor_auto_focus_3x 2022-09-06 10:14:55 +02:00
lawnjelly
c254e97c6b FindBar fix uninitialized results_count
Found by Valgrind.
2022-09-06 09:00:04 +01:00
Fredia Huya-Kouadio
c875f23750 Disable logic that triggers automatic focus gain as the Godot Editor is loaded
For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
2022-09-05 22:13:03 -07:00
Micky
b14754d984 Modify newlines in Editor Spin Slider tooltip
Makes both key suggestions easier to read.

(cherry picked from commit a2ba189fef)
2022-09-05 15:35:45 +02:00
Micky
a01ae706ae Mark Script button if it's tool in Scene Tree Editor
Also adds a note on the tooltip if the Script is tool.

The color is the same one used on the Script Editor's script list.

(cherry picked from commit ad5ff9f78f)
2022-09-05 15:35:45 +02:00
kobewi
737bfa57d3 Allow to change the Stop shortcut used at runtime
(cherry picked from commit 409613ba7b)
2022-09-05 15:35:45 +02:00
Rémi Verschelde
aeb70fc0e2
Merge pull request #65043 from akien-mga/3.x-cherrypicks 2022-08-30 12:51:53 +02:00
Atlinx
f624acef42 Add missing parameters for signal in docs
(cherry picked from commit 0e3097c023)
2022-08-30 11:05:37 +02:00
Kongfa Waroros
77a4615031 Update all AnimationTree's editors when editing
(cherry picked from commit 0f17fe642c)
2022-08-30 11:03:24 +02:00
Rémi Verschelde
7df5f37237
Merge pull request #64495 from kleonc/scene-dock-change-many-node-unique-names-3x
[3.x] `SceneTreeDock` Allow/fix toggling unique name in owner for all selected nodes
2022-08-30 08:43:16 +02:00
Haoyu Qiu
cb821f2245 Fix SceneCreateDialog signal connection 2022-08-29 15:42:38 +08:00
Yuri Sizov
72d1156286 Remove Inspector tooltip hack that never actually worked 2022-08-26 17:12:46 +03:00
Rémi Verschelde
320fe64d8c
Merge pull request #62746 from KoBeWi/sc3n3_factory🏭🏭🏭 2022-08-25 23:13:37 +02:00
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