Tomasz Chabora
4951f50b0f
Keep property values when extending script
...
(cherry picked from commit 44cf3c22ac
)
2022-12-18 10:32:04 +08:00
Anilforextra
daa4be06b0
Enable material editor preview to be rotated.
...
(cherry picked from commit d4ee903004
)
2022-12-18 10:32:04 +08:00
Rindbee
9056cc9c2a
Fix property link not working in MultiNodeEdit
...
This is due to the `p_field` in the `EditorProperty::emit_changed`.
`p_field` only works for `MultiNodeEdit`, not for other objects.
(cherry picked from commit b6fdd0815c
)
2022-12-18 10:32:04 +08:00
kobewi
9499ebecee
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
(cherry picked from commit 5553e27fe8
)
2022-12-18 10:32:04 +08:00
Hugo Locurcio
65465f309c
Add a project setting to make the root viewport transparent
...
This allows creating a project with a transparent window without having
to write any script.
2022-12-18 00:38:05 +01:00
Alfred Reinold Baudisch
7779164096
Add math operators to Visual Shader node names
...
This change makes it easy, in the "Create Shader Node" dialog, to search for VS nodes by just typing the operator. For example, instead of typing "multiply", you can just type "*" and multiply nodes will be listed.
This feature is inspired by Unreal Engine node graph editor's UX.
Backported from https://github.com/godotengine/godot/pull/67905
2022-12-15 17:21:37 +01:00
Rémi Verschelde
6963ba631e
Fix typos with codespell
2022-12-15 12:26:59 +01:00
Rémi Verschelde
d79699041a
Merge pull request #70038 from m4gr3d/update_navigation_controls_toggle_3x
...
[3.x] Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:35:41 +01:00
Fredia Huya-Kouadio
0825859a94
Update the visibility logic for the spatial editor navigation controls
2022-12-13 16:17:22 -08:00
Rémi Verschelde
e25d6a0ec2
i18n: Sync editor translations with Weblate (3.5 branch)
...
(cherry picked from commit ee8986e146
)
2022-12-13 14:37:34 +01:00
kobewi
b5bf60e04f
Fix crash in EditorPropertyArray
...
(cherry picked from commit d80a2a89f0
)
2022-12-12 14:49:23 +01:00
Haoyu Qiu
433be4aa3e
Add open scene button in Inspector for PackedScene resource
2022-12-12 16:10:00 +08:00
Rémi Verschelde
9983df9210
Merge pull request #69526 from m4gr3d/polish_navigation_controls_opacity_3x
...
[3.x] Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:33:43 +01:00
Rémi Verschelde
bf7f93d236
Merge pull request #69384 from asalazar516/3.x_delete_nodes_request_param
...
[3.x] Add missing argument to `AnimationNodeBlendTreeEditor::_delete_nodes_request`
2022-12-05 00:13:31 +01:00
alex-pahdo
cbc8ccbe20
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-04 20:19:50 +08:00
kobewi
3f8bb6fb53
Improvements to EditorResourcePicker
...
(cherry picked from commit 9568789a9d
)
2022-12-04 19:18:17 +08:00
Fredia Huya-Kouadio
f1e6ecd3b5
Minor tweaks/polish to the navigation controls to prevent interference:
...
- Reduce controls size
- Enable opacity on hover to increase visibility
2022-12-02 23:33:14 -08:00
asalazar516
fd101d9def
[3.x] Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request
2022-12-02 11:12:38 -08:00
Rémi Verschelde
4d5ef72669
Merge pull request #69434 from timothyqiu/editor-title
...
[3.x] Update project window title when a project setting was changed
2022-12-01 18:13:58 +01:00
Marius Hanl
9ea2ef7c44
Update project window title when a project setting was changed
...
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-12-01 12:54:10 +08:00
Haoyu Qiu
fdc21747be
Improve editor property capitalization
...
* Captialize stop words when they are the last word.
* Add stop words logic in `extract.py`.
(cherry picked from commit c0e9d928e6
)
2022-12-01 12:12:25 +08:00
Hugo Locurcio
2363d0f9ba
Improve editor property capitalization
...
- Don't capitalize stop words such as "at", "in" or "to".
- Add more acronyms to capitalize.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit aafa816946
)
2022-12-01 12:08:40 +08:00
Haoyu Qiu
57c429975c
Make Camera3D gizmo clickable
...
(cherry picked from commit ca9063fe4e
)
2022-12-01 11:55:09 +08:00
Pedro J. Estébanez
22ecc0561d
Create reset tracks with the right update mode
...
(cherry picked from commit b46a2aaa4b
)
2022-12-01 10:31:28 +08:00
kobewi
1b607b04b4
Advance animation after confirming
...
(cherry picked from commit 798f9c8632
)
2022-12-01 10:12:37 +08:00
Rémi Verschelde
7f0b3bc2a0
Add editor setting for AcceptDialog OK/Cancel buttons positioning
...
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.
Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.
Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).
Fixes #59379 .
(cherry picked from commit 9bb05de89f
)
2022-12-01 09:50:51 +08:00
VolTer
3b35454ac3
Stopped edge stripping when using Find in Files
...
(cherry picked from commit 0179791e85
)
2022-11-30 15:34:50 +01:00
Rémi Verschelde
9a340a2868
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-11-30 15:34:27 +01:00
Alfred Reinold Baudisch
d3735d8b21
Cast dragged file extension name to lowercase, closes #68104
...
(cherry picked from commit 07e367cb0b
)
2022-11-30 15:34:27 +01:00
kleonc
7f2c318e6e
SpriteFramesEditor
Fix calculating frame index from mouse position
...
(cherry picked from commit d135957987
)
2022-11-30 15:34:27 +01:00
Mark Riedesel
c15bb8147e
Handle closed splines in Collada importer
...
(cherry picked from commit 8f7ab02bc6
)
2022-11-30 15:34:26 +01:00
Rémi Verschelde
9d6c3b5151
Debugger: Fix fetching source to link C++ error on GitHub
...
Fixes #66974 .
(cherry picked from commit 4d29346a74
)
2022-11-30 15:34:25 +01:00
kleonc
24eb91cd5b
Fix checking if script is attached to any node belonging to scene
...
(cherry picked from commit 7f7966e10a
)
2022-11-30 15:06:13 +01:00
Windy Darian
6997482dbf
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-11-30 14:46:20 +01:00
Haoyu Qiu
b957816736
Add built-in action toggle in Input Map settings
2022-11-29 16:53:35 +08:00
Rémi Verschelde
5240609e67
Merge pull request #67681 from m4gr3d/android_editor_polish_3x
...
[3.x] Android Editor: Add navigation controls to the spatial editor viewport
2022-11-28 16:32:06 +01:00
Rémi Verschelde
693ce99d2d
Merge pull request #68853 from Maran23/3-x-tooltip-fix
...
Fix Tooltips do not work properly when selecting multiple nodes (MultiNodeEdit)
2022-11-24 15:44:50 +01:00
Hendrik Brucker
ea46617f12
Add Gradient resource preview generator
...
Co-Authored-By: Haoyu Qiu <timothyqiu32@gmail.com>
2022-11-22 13:25:54 +08:00
Marius Hanl
6f7228e2da
Fix Tooltips do not work properly when selecting multiple nodes (MultiNodeEdit)
...
The editor inspector will now get the edited class name from the MultiNodeEdit when it is used.
The name of the selected nodes is searched in the scene and if not found in the parent class(es).
This is a mostly clean backport from Godot 4.0.
2022-11-18 21:20:36 +01:00
Fredia Huya-Kouadio
cc59e18c9b
Add navigation control to the spatial editor viewport for the Android editor
2022-11-16 05:17:21 -08:00
Rémi Verschelde
36a8ebf882
Merge pull request #67666 from timothyqiu/editable-owner
...
[3.x] Fix wrong owner for editor plugin created nodes in instanced scene
2022-11-15 18:00:38 +01:00
Jean-Michel Bernard
79ebba0f6b
[3.x] Prevent docks to be reset to first tab when switching dock visibility
2022-11-03 13:02:11 +01:00
Haoyu Qiu
f32f4ec051
Improve dragging scene into 3D viewport
2022-11-01 18:58:16 +08:00
Rémi Verschelde
a7581ed718
Merge pull request #67947 from timothyqiu/spatial-gizmo-hide
...
[3.x] Fix spatial gizmo still active when node is deselected
2022-10-31 14:00:43 +01:00
Haoyu Qiu
51fcc013c0
Only show named layers in layer menu
2022-10-31 20:40:39 +08:00
Haoyu Qiu
0025ab89c7
Fix spatial gizmo still active when node is deselected
2022-10-31 20:38:31 +08:00
Haoyu Qiu
d50cfd9f18
Fix wrong owner for editor plugin created nodes in instanced scene
2022-10-20 15:06:17 +08:00
Haoyu Qiu
456c0ecda6
Remove leading spaces from enumerator name hints
2022-10-08 15:23:46 +08:00
Haoyu Qiu
90e9e7c37d
Center icons vertically in editor docs' hierarchy
2022-10-06 15:42:34 +08:00
Rémi Verschelde
42aa574285
Merge pull request #66229 from Mickeon/3.x-editor-docs-hierarchy-icons
...
[3.x] Add type icons to editor docs' hierarchy
2022-10-03 14:57:54 +02:00
Rémi Verschelde
5a424bc306
Merge pull request #66654 from akien-mga/3.x-debugger-clear-stack-dump-on-exit
...
Debugger: Clear stack dump on execution stop
2022-10-03 14:56:12 +02:00
Rémi Verschelde
1a7c1eb858
Debugger: Clear stack dump on execution stop
...
Fixes #34198 .
2022-09-30 11:22:53 +02:00
Rémi Verschelde
cbde08d452
Merge pull request #66227 from Mickeon/3.x-editor-unique-name-toggle
2022-09-29 14:57:49 +02:00
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