9a2bf73280
Backported _shortcut_input() virtual from godot4.
2023-09-07 09:56:16 +02:00
448825acc1
Temporarily disabled EditorLog's new shortcuts.
2023-09-06 22:37:21 +02:00
c86269cf49
Hide the editor log search bar by default.
2023-09-06 14:23:55 +02:00
e7fe643ce5
Prefix messages with their thread id if they aren't coming from the main thread in the editor log.
2023-09-06 14:19:28 +02:00
deb5c49700
Backported the new output window from godot4.
2023-09-06 13:08:24 +02:00
2183fe6e0f
Fix double script icon in the editor.
2023-09-06 01:56:17 +02:00
0a9c9ca15e
Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
...
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5
by Atlinx
2023-09-06 01:45:29 +02:00
5a758b5c1e
Fix the tooltip of the Debug Paths option.
2023-09-04 22:29:29 +02:00
8485b37515
Ported from godot4: Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
24d7260169
Replaced the text with an icon on the SpatialEditor's and the CanvasItemEditor's view button.
2023-09-03 14:17:49 +02:00
e0bafda416
Replace the Transform text with an icon in SpatialEditor's toolbar.
2023-09-03 14:04:00 +02:00
3b602c87d4
Removed superfluous VSeparator from the SpatialEditor.
2023-09-03 13:56:04 +02:00
0db05de552
Convert MeshInstanceEditorPlugin's toolbar to the new style.
2023-09-03 13:52:22 +02:00
fc1a75c678
Converted the menu buttons of the Portals and Rooms system to the new style.
2023-09-03 13:35:55 +02:00
a5219d45d5
Never show text for the Convert Rooms button.
2023-09-03 13:23:16 +02:00
72119a0ec0
Group the Anchor and Presets buttons under a common HBoxContainer in CanvasItemEditor.
2023-09-03 13:00:55 +02:00
86ee8840ac
Removed the diffferently styled context menu from the SpatialEditor and the CanvasItemEditor. New controls are now added directly to the main FlowContainer, so they wrap properly. While having a different background for context sensitive items can look good, it doesn't work well if it's not per plugin.
2023-09-03 12:36:23 +02:00
eb8943a4f6
Backported from godot4: Add Path2D/3D debug options
...
- smix8
e12e239ab4
2023-09-02 11:38:01 +02:00
DeeJayLSP
677c9cfea4
Backport AudioStream icons from 4.0
2023-08-27 12:04:19 +02:00
834cbe8cef
Ported: Single Compilation Unit build.
...
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
- lawnjelly
43e181a00a
2023-07-11 16:07:36 +02:00
Hugo Locurcio
bdaeebce83
Update gamepad button/axis names to match 4.0
2023-06-28 12:24:29 +02:00
Ninni Pipping
26dc653dcb
Bounds fixes in TextureAtlas
import
2023-06-28 12:22:18 +02:00
21003539a3
Added warning for the android editor that android will kill the game after a few seconds if it's opened in the same window as the editor and then it goes to the backgond. Should be still enough to see what's the issue of you don't intentionally debug break though.
2023-06-15 12:04:38 +02:00
c68ec30899
Fix warning in the android editor.
2023-06-15 10:20:18 +02:00
1a5cba555c
Backported godot4 PR: Support threads in the script debugger
...
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.
This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
- reduz
PR 76582
Will be available here after it's merged:
6b176671c4
2023-06-14 14:43:55 +02:00
3afa1142b9
Merged the functionality of BSInputEventKey to InputEventKey. This new setting can make input event keys act as if they are shortcut matched.
2023-06-11 16:06:09 +02:00
37fa118ec4
Ported: Adds a scale_gizmo_handles entry to the Touchscreen editor settings
...
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
- m4gr3d
b78935ef51
2023-06-11 13:16:13 +02:00
d6f5dd35e8
Ported: Enable granular control of touchscreen related settings
...
- m4gr3d
61e41facc7
2023-06-11 12:57:25 +02:00
7e64510427
Ported: Add setting to control the window used to run the project for the Android editor
...
The follow options were added to the (new) `run/window_placement/android_window` editor setting:
- `Auto`: choose how to run the project based on the device screen size
- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
- m4gr3d
b5a908c985
Removed my force launch adjacent solution in favor of this.
2023-06-11 09:52:39 +02:00
Ninni Pipping
41d0abc83e
Fix trim when importing WAV
2023-06-11 09:23:02 +02:00
f058c87868
Backported from godot4: Rework Navigation Avoidance
...
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02:00
8b18898609
Backported from godot4: Rework const on NavigationServer methods
...
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
- DarkKilauea
a0715b30f9
2023-06-09 22:03:42 +02:00
c11500d480
Ported from godot4: Rename Navigation uses of 'location' to 'position'
...
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
- smix8
bf1571979c
2023-06-09 10:28:31 +02:00
7acef201ce
Fix inconsistent overrides.
2023-06-08 21:00:23 +02:00
ffc0acba42
Fix virtual method overrides.
2023-06-08 20:51:36 +02:00
0438c3cc3f
Backported from godot4: Added node for Navigation links .
...
- DarkKilauea
3dd59013f4
2023-06-08 20:46:09 +02:00
1af5c4c412
Removed the old NavigationPolygonEditorPlugin.
2023-06-06 23:09:16 +02:00
3c9d9bdad4
Ported from godot4: Fix NavigationRegion3D gizmo's odd visual behavior .
...
- DarkKilauea
92c40bcf32
2023-06-05 19:02:24 +02:00
25078b1437
Ported from godot4: Remove / Replace old Navigation Debug Visualization
...
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
- smix8
d7f75fab60
2023-06-05 18:56:41 +02:00
654cfb81b7
Renamed NavigationRegion2D back to NavigationPolygonInstance, as I think it fits the engine better.
2023-06-05 18:09:53 +02:00
68b9f4c90e
Ported from godot4: Add more detailed Navigation Debug Visualization
...
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
- smix8
c394ea518e
2023-06-05 18:05:15 +02:00
510ecfa8e4
Fix clang format warning.
2023-06-05 14:57:25 +02:00
cfa4384ad4
Backported from godot4: Fix NavigationMesh baking AABB Editor handling and visuals
...
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
- smix8
2023-06-05 14:33:55 +02:00
2114b2239b
Split NavigationPolygon and NavigationPolygonInstance into 2 files. Also renamedNavigationPolygonInstance to NavigationRegion2D.
2023-06-03 16:54:48 +02:00
ca982ac507
Ported: Add benchmark logic
...
Add benchmarking measuring methods to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
- m4gr3d
Also contains some mouse pointer improvements.
2023-05-01 15:32:01 +02:00
a1f241f63b
Ported: Make create folder popup support nested folders
...
- timothyqiu
d6672d8fe4
2023-05-01 12:58:21 +02:00
Haoyu Qiu
6b51409db3
Fix inconsistent file dialog settings usage
2023-05-01 12:25:23 +02:00
Fredia Huya-Kouadio
88fa0e459b
Make EditorPropertyLayersGrid
responsive to touch taps
2023-05-01 12:13:36 +02:00
bb9f227c73
Ported: Update make_rst.py to match the master version
...
This does not include master-specific concepts, like
constructors, operators, annotations, and bitfields.
- YuriSizov
0f24d6ecf7
2023-04-15 11:20:13 +02:00
40a9b72afb
Ported from godot-plus: Add ability to mute AudioServer.
...
Adds the option to change the audio driver to the Dummy driver and back at runtime, with a set of MuteState flags - Disabled (user control), Silence (period of silence), Focus Loss (when app is not in focus), and Paused (when app is paused).
Control for the flags is added for the editor in EditorSettings, and for the project in ProjectSettings.
Editor defaults to muted (Dummy driver) when there is no audio output, and automatically switches to active on output. This significantly reduces CPU usage.
- lawnjelly
cedb01fb84
2023-04-10 19:42:23 +02:00
8ab1998fcb
Ported from godot 4: Optimize Node::add_child validation
...
Adding 10k nodes is almost twice as fast.
- reduz
223ce4fcb9
2023-04-10 18:10:22 +02:00
27920ca1a7
Make sure that the script editor is the 3rd tab. I implemented the simplest solution I could think for now. If more control is needed in the future, EditorPlugins will likely need a priority queue (or some different, more generic solution).
2023-03-19 11:02:20 +01:00
054332ae8d
Fix selecting the script editor even if it's not the 3rd in the editor_tables array.
2023-03-19 10:24:21 +01:00
9146ddfbbd
Ported: Backport a simpler version of the accent color for check icons
...
- YeldhamDev
7173565250
2023-03-12 14:34:43 +01:00
1d5008de07
Ported: Default update_vital_only to true for Android and Web editor
...
Android devices will typically be powered from battery. This PR defaults the editor on Android to use `update_vital_only` mode, using as little power as possible, in order to conserve battery.
Also shows the update spinner by default, to emphasize that vital updates only is occurring, and allow easy switching out of the mode.
- lawnjelly
0876a16bde
2023-03-12 12:54:07 +01:00
c356806ebf
Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
...
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
- Paulb23
bc4cee4458
2023-02-21 01:30:59 +01:00
6026725f3b
Renamed ScriptEditor to EditorScriptEditor.
2023-02-18 16:52:26 +01:00
8f311ca275
Prefix class names in the editor_script_editor module with Editor
. Pt 1.
2023-02-18 16:37:54 +01:00
990f8aaecd
Prefix filenames in the editor_script_editor module with editor_
.
2023-02-18 16:22:59 +01:00
6e88ad5bae
Moved the editor_code_editor module to the editor_modules folder.
2023-02-18 15:45:50 +01:00
a14821587f
Renamed the code_editor module to editor_code_editor.
2023-02-18 15:31:58 +01:00
65c91c6899
Moved ScriptEditorPlugin and ScriptEditor out from the editor folder.
2023-02-18 15:08:56 +01:00
e32e63242b
Moved ScriptEditor and ScriptEditorPlugin to a new editor subfolder.
2023-02-18 14:36:51 +01:00
4dd84847eb
Moved ScriptEditor to it's own file.
2023-02-18 13:22:43 +01:00
7c946c9ba9
Separated shader editor into a new module.
2023-02-18 09:44:05 +01:00
8d7090241a
Make sure that the editor can be built even when the new code_editor module is disabled.
2023-02-17 23:20:10 +01:00
1b30a48d65
Move out script editor's initialization from EditorNode.
2023-02-17 21:29:44 +01:00
9cd2927fcc
Move the editor's script text editor into the new code_editor module.
2023-02-17 20:57:16 +01:00
5dc5aea278
Re-enable remote debugging in the android editor build.
2023-02-08 11:47:35 +01:00
21dfdd9455
Use bool instead of int for the new property.
2023-02-08 09:38:07 +01:00
0eb9d6648f
Added a setting to force launch the project in an adjacent window in the android editor.
2023-02-08 09:25:47 +01:00
db67fa53ea
Ported: Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
...
- m4gr3d
8170b7ae1e
2023-02-07 02:50:11 +01:00
stmSi
a2661adba8
Suggest Filename in Remote Tree File Dialog
2023-02-07 01:09:03 +01:00
Haoyu Qiu
fb88b9813f
Fix error when dropping script into script editor
2023-01-16 14:25:15 +01:00
2cd4e4d828
Renamed Set to RBSet.
2023-01-15 19:42:08 +01:00
1b0aac6028
Renamed Map to RBMap.
2023-01-15 19:12:50 +01:00
b240df7df6
Updated more copyright headers for 2023.
2022-12-31 21:07:05 +01:00
0a31a3b594
Don't enable remote debugging in the android editor for now. This fixes black screen when a project encounters a script error.
2022-12-31 16:46:13 +01:00
213f393293
Fix typos with codespell.
2022-12-22 19:51:25 +01:00
09ad2db471
Updated the translation from godot master.
2022-12-22 19:26:59 +01:00
eb219dbfb4
Ported: EditorInspectorSection is not folded when clicking under the font - Maran23
...
51859286a6
2022-12-22 18:59:23 +01:00
1d009e3fe0
Ported: 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.
- Rindbee and timothyqiu
9056cc9c2a
2022-12-22 18:54:24 +01:00
b8009c85f4
Ported: Add vector value linking - KoBeWi and timothyqiu
...
9499ebecee
2022-12-22 18:50:17 +01:00
e5df1644c7
Skip properties with the 'PROPERTY_HINT_BUTTON' hint when building docs.
2022-12-22 18:16:58 +01:00
f668ceb512
Ported: Update the visibility logic for the spatial editor navigation controls - m4gr3d
...
0825859a94
2022-12-22 18:01:19 +01:00
bad1d64314
Fix compile and small cleanups after the backports.
2022-12-22 15:24:53 +01:00
Haoyu Qiu
4a51392d12
Add open scene button in Inspector for PackedScene resource
2022-12-22 14:35:00 +01:00
Rémi Verschelde
ebff4709e2
Fix some Clang -Wunused-but-set-variable warnings
2022-12-22 14:31:52 +01:00
Zak
b5c01b8703
Add uri
property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b08864b5e5ccf0df910190b064ff7463)
2022-12-22 14:23:04 +01:00
Tomasz Chabora
3b7b860b18
Keep property values when extending script
...
(cherry picked from commit 44cf3c22acb140cc2f19f1062c0a4c0a931fd27b)
2022-12-22 14:19:58 +01:00
Anilforextra
522c324760
Enable material editor preview to be rotated.
...
(cherry picked from commit d4ee903004637b6ba12eef004a4d9006462c83b6)
2022-12-22 14:16:06 +01:00
kobewi
5269b803e5
Fix crash in EditorPropertyArray
...
(cherry picked from commit d80a2a89f07dfddc734c18ac8f565b968eb789c8)
2022-12-22 13:43:35 +01:00
94a9792d02
Rearranged ViewportNavigationControl.
2022-12-12 15:55:25 +01:00
422629c281
Bind ViewportNavigationControl::_on_mouse_entered.
2022-12-11 20:06:18 +01:00
ea67b36916
Ported: Minor tweaks/polish to the navigation controls to prevent interference:
...
- Reduce controls size
- Enable opacity on hover to increase visibility
- m4gr3d
f1e6ecd3b5
2022-12-11 19:30:42 +01:00
kobewi
fe154362b1
Improvements to EditorResourcePicker
...
(cherry picked from commit 9568789a9d7845a7224cadea996d009463e87125)
2022-12-11 19:15:30 +01:00
alex-pahdo
6ebc813e48
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 f5d256b118914817e2c7ac5c35421e2767fc1e79)
2022-12-11 19:11:36 +01:00
asalazar516
8c306efe22
Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request
2022-12-11 19:06:49 +01:00
Marius Hanl
a32008c1ea
Update project window title when a project setting was changed
...
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-12-11 19:05:02 +01:00
Haoyu Qiu
6484327489
Make Camera3D gizmo clickable
...
(cherry picked from commit ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8)
2022-12-11 19:02:40 +01:00