Commit graph

16683 commits

Author SHA1 Message Date
Rémi Verschelde
0628af4105
Merge pull request #80561 from HolonProduction/i-have-made-my-position-clear
Set position to zero when saving a positioned branch as scene
2024-10-01 17:30:04 +02:00
Brandon Chang
e0957c2fa3
Consolidate remembering window settings into single config 2024-10-01 16:35:36 +02:00
kobewi
645abdbb80 Add expression evaluater to debugger (REPL)
Co-authored-by: rohanrhu <rohanrhu2@gmail.com>
2024-10-01 15:36:09 +02:00
Roman Morozov
d532eecc81 Changed the default deadzone value for new actions from 0.5 to 0.2 2024-10-01 16:47:44 +04:00
HolonProduction
03c3c5f608 Set position to zero when saving a positioned branch as scene 2024-09-30 09:43:47 +02:00
Fredia Huya-Kouadio
7a909896f7 Expose get_export_option_visibility to editor plugins 2024-09-29 15:05:05 -07:00
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Rémi Verschelde
a11f970f91
Merge pull request #96290 from Macksaur/export-action-callable
Add `@export_tool_button` annotation for easily creating inspector buttons.
2024-09-29 00:46:55 +02:00
ywmaa
0a9ad8f9de
Implement vertex shading
This adds support in all backends, but the Compatibility renderer works the best.
Mobile and Forward+ can only support one directional light shader (the first in the tree)
While the Compatibility renderer supports any number of shadows.

Co-authored-by: Clay John <claynjohn@gmail.com>
2024-09-29 00:36:09 +02:00
Hugo Locurcio
0807d60d68
Check RenderingDevice availability to display LightmapGI configuration warnings
We can now check whether RenderingDevice can be created (which is
not guaranteed when using the Compatibility rendering method),
so the warning can be displayed only when relevant.

This also disables the Bake Lightmaps button with a tooltip if baking
is not available.
2024-09-28 23:56:47 +02:00
Haoyu Qiu
38579a1e84 Unify editor version buttons 2024-09-28 23:26:23 +08:00
Danil Alexeev
85dfd89653 Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
kobewi
66d2b0fc6a Fix closing Theme Editor not actually closing it 2024-09-27 17:08:20 +02:00
Rémi Verschelde
7b393c6cee
Merge pull request #97453 from Calinou/project-manager-enter-accepts-dialog
Make pressing Enter confirm project creation/import in the project manager
2024-09-27 13:53:29 +02:00
Rémi Verschelde
8a9a26ef19
Merge pull request #93311 from dsnopek/gdextension-required-virtuals
GDExtension: Mark virtual function as `is_required` in `extension_api.json`
2024-09-27 13:53:16 +02:00
Haoyu Qiu
6516ca6b11 Parse fragment from URL 2024-09-27 19:42:30 +08:00
aryan-11825114
b4460c6ba3 Add cut_nodes_request signal to GraphEdit 2024-09-27 08:47:11 +05:30
Rémi Verschelde
b181ff28e8
Merge pull request #97491 from akien-mga/fix-filesystem-invalid-icon-crash
Fix EditorFileSystem crash when fetching icons for unknown file types
2024-09-26 18:45:56 +02:00
Rémi Verschelde
645af49919
Merge pull request #97488 from KoBeWi/zakaz_tłumaczeń
Disable auto translation in EditorDirDialog
2024-09-26 18:45:53 +02:00
Rémi Verschelde
344ce2b047
Merge pull request #97344 from pafuent/editor_file_dialog_filter_sort
Add filter & sort to editor file dialog
2024-09-26 18:45:24 +02:00
Rémi Verschelde
c4f079a6b0
Merge pull request #97283 from timothyqiu/fs-buttons
Make FileSystem dock buttons consistent
2024-09-26 18:45:20 +02:00
Pablo Andres Fuente
163753949e Add filter & sort to editor file dialog
Closes https://github.com/godotengine/godot-proposals/issues/2721

On `EditorFileDialog`:
 * Add filter box that only shows folders and files in current directory that match
 * Add sort button to sort files and directories
 * Add a shortcut for CTRL+F for selecting the filter box

Also moved common code between `EditorFileDialog` and `FileSystemDock`
to it's own file.

Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
2024-09-26 11:08:13 -03:00
Rémi Verschelde
a83ea6b57d
Fix EditorFileSystem crash when fetching icons for unknown file types
Fixes crash reported in https://github.com/godotengine/godot/pull/97421#issuecomment-2376684690.
2024-09-26 16:01:23 +02:00
Hugo Locurcio
1959dc9b62
Show GPU name when RenderingDevice is unsupported in the project creation dialog
This helps diagnose issues on multi-GPU setups, particularly when
only one of them supports RenderingDevice-based rendering methods.

This can be the case on old laptops with an Intell Haswell IGP
and a NVIDIA Maxwell dedicated GPU, where the IGP does not support
RenderingDevice but the dedicated GPU does.
(In this case, Godot must be forced to run on the dedicated GPU
to allow using RenderingDevice-based rendering methods.)
2024-09-26 15:39:52 +02:00
kobewi
4b734aeda9 Disable auto translation in EditorDirDialog 2024-09-26 14:28:48 +02:00
Rémi Verschelde
841061d50e
Merge pull request #97421 from SaNeOr/fix#97387
Fix GDExtension classes inheriting from Resource not using icons in FileSystem
2024-09-26 12:45:46 +02:00
Rémi Verschelde
2912cb9975
Merge pull request #97118 from mihe/patch-exports
Add ability to export patch packs
2024-09-26 12:45:42 +02:00
Rémi Verschelde
991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Rémi Verschelde
ef7547384c
Merge pull request #95678 from Hilderin/fix-slow-load-on-large-project-v2
Fix slow editor load on large projects (v2)
2024-09-26 12:45:31 +02:00
Hugo Locurcio
c15fe90ac4 Make pressing Enter confirm project creation/import in the project manager
This makes the project manager more friendly to keyboard usage.

You can now create projects more easily without touching the mouse
by opening the project manager, pressing Ctrl + N, entering a project
name and pressing Enter.
2024-09-26 02:06:30 +02:00
Hilderin
21f7c8a25f Fix slow editor load on large projects (v2) 2024-09-25 17:36:39 -04:00
Mikael Hermansson
d3be030ea6 Add ability to export patch packs
Co-authored-by: Poq Xert <poqxert@poqxert.ru>
2024-09-25 17:07:28 +02:00
Thaddeus Crews
32c83a228d
Style: Add WARNING: as new comment admonition 2024-09-25 09:44:42 -05:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
SaNeOr
e4cf4fcb2f fix GDExtension classes inheriting from Resource are not using icons in FileSystem 2024-09-25 04:09:09 +08:00
kobewi
7aef30c2a8 Discard additional redo on commiting actions 2024-09-24 15:47:55 +02:00
Rémi Verschelde
6c1bbb3143
Merge pull request #97275 from timothyqiu/how-many
Better undo action names for localization editor
2024-09-24 12:57:08 +02:00
Rémi Verschelde
fc960cdf80
Merge pull request #97013 from Hilderin/fix-load-errors-popup-empty
Fix empty load errors popup
2024-09-24 12:57:04 +02:00
Rémi Verschelde
4254946de9
Merge pull request #97323 from timothyqiu/drop-unicode-identifier
Fix script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 16:14:08 +02:00
Rémi Verschelde
2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Rémi Verschelde
c47eb5c301
Merge pull request #97282 from timothyqiu/force-advanced-settings-when-searching
Keep advanced toggle on when searching for settings
2024-09-23 16:13:56 +02:00
Rémi Verschelde
e3aa152509
Merge pull request #97319 from Giganzo/groups-add-button-style
Fix Add button style in GroupsEditor
2024-09-23 12:28:21 +02:00
Rémi Verschelde
720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
tetrapod00
eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
Haoyu Qiu
a751c05b15 Fix script editor wrongly replaces and quotes non-ASCII letters 2024-09-23 00:05:16 +08:00
Giganzo
15f344173e Fix Add button style in GroupsEditor 2024-09-22 11:17:06 +02:00
kobewi
866c50a926 Add submenu support to EditorContextMenuPlugin 2024-09-21 20:16:45 +02:00
Haoyu Qiu
ef840f935f Make FileSystem dock buttons consistent 2024-09-21 22:02:56 +08:00
Haoyu Qiu
267bb98231 Keep advanced toggle on when searching for settings 2024-09-21 21:15:46 +08:00
Haoyu Qiu
246150453b Better undo action names for localization editor 2024-09-21 19:58:17 +08:00
Rémi Verschelde
e4e024ab88
Merge pull request #97273 from timothyqiu/unicode-autoload
Allow using Unicode identifier for Autoload name
2024-09-21 11:51:06 +02:00
Rémi Verschelde
1ef1c4ee0f
Merge pull request #97264 from clayjohn/obj-no-uv-crash
Fix crash when importing a surface with no UVs after another surface in the same OBJ file that had UVs
2024-09-21 11:50:55 +02:00
Rémi Verschelde
cc26cacc08
Merge pull request #97242 from timothyqiu/meta-text
Fix wrong displayed category name in `EditorHelpSearch`
2024-09-21 11:50:45 +02:00
Rémi Verschelde
aa5c69bfd5
Merge pull request #97239 from Calinou/editor-system-info-add-display-driver-window-mode
Mention display driver and window mode in Copy System Info text
2024-09-21 11:50:42 +02:00
Rémi Verschelde
d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Haoyu Qiu
e8462bf3ac Allow using Unicode identifier for Autoload name 2024-09-21 16:47:19 +08:00
clayjohn
07546006e8 Fix crash when importing a surface with no UVs after another surface in the same OBJ file that had UVs 2024-09-20 19:29:11 -07:00
Rémi Verschelde
621cadcf65
Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-use
Fix reloading scripts already in use
2024-09-20 21:35:08 +02:00
Hugo Locurcio
107675f785
Mention display driver and window mode in Copy System Info text
This is useful information to know, as the X11 display driver can be
used both on X11 natively and on Wayland through XWayland.

Certain editor issues only occur in multi-window mode
(or only in single-window mode). Some issues also only occur
on multi-monitor setups, so the monitor count is now listed.
2024-09-20 18:16:45 +02:00
Hilderin
9638220473 Fix reloading scripts already in use 2024-09-20 12:12:24 -04:00
Haoyu Qiu
aa4f7bc2e3 Fix wrong displayed category name in EditorHelpSearch 2024-09-21 00:07:11 +08:00
David Snopek
1a6f8512bc Add external texture support (GLES3)
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
Rémi Verschelde
8738aae9fc
Merge pull request #94569 from Calinou/script-editor-tweak-zoom-presets
Tweak script editor zoom presets to be more useful
2024-09-20 16:26:23 +02:00
Rémi Verschelde
8ea7f5eac2
Merge pull request #97222 from timothyqiu/csv-not-translation
Don't list CSV as a valid extension for `Translation` resource
2024-09-20 16:07:06 +02:00
Rémi Verschelde
7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
2024-09-20 16:06:23 +02:00
Hugo Locurcio
84e278cbfd
Tweak script editor zoom presets to be more useful
The presets are now 50%, 75%, 90%, 100%, 110%, 125%, 150%.

This also mentions Ctrl + mouse wheel in the tooltip.
2024-09-20 15:42:15 +02:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
Haoyu Qiu
b1000d1830 Don't list CSV as a valid extension for Translation resource 2024-09-20 15:21:50 +08:00
Rémi Verschelde
0a4aedb360
Merge pull request #97187 from KoBeWi/do_not
Don't store project metadata when loading
2024-09-19 17:13:56 +02:00
Rémi Verschelde
c8d76c1edd
Merge pull request #97185 from KoBeWi/ID_war
Fix FileSystemDock's EditorContextMenuPlugins
2024-09-19 17:13:53 +02:00
Rémi Verschelde
d788205826
Merge pull request #97173 from timothyqiu/drag-preview-translation
Set auto translate mode for drag previews
2024-09-19 17:13:50 +02:00
Rémi Verschelde
d427a60970
Merge pull request #97145 from KoBeWi/supersecretsettings
Don't show project settings starting with underscore
2024-09-19 17:13:43 +02:00
Rémi Verschelde
ff2b5a5422
Merge pull request #97075 from KoBeWi/better_new_folder_(not_to_be_confused_with_new_better_folder)
Rework creating new folders in editor
2024-09-19 17:13:39 +02:00
Rémi Verschelde
71a7e37a43
Merge pull request #96766 from ryevdokimov/hide-white-circle-outline
Hide white circle outline during instant transformations
2024-09-19 17:13:20 +02:00
kobewi
b277a2985d Don't store project metadata when loading 2024-09-19 16:01:53 +02:00
kobewi
5901a7a3d1 Fix FileSystemDock's EditorContextMenuPlugins 2024-09-19 15:33:11 +02:00
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
Dowsley
5aa8f8dfee Fix Undo/Redo not working in Bezier Animation Editor when moving keys 2024-09-18 20:45:08 -03:00
Rémi Verschelde
7b1d169e0e
Merge pull request #96683 from elliotfontaine/toggle-replace-button
Code Editor: Add button to toggle between search and search+replace
2024-09-18 17:40:59 +02:00
Rémi Verschelde
8ba3c2aeb4
Merge pull request #92972 from ogapo/pr/warn-on-duplicate-uids
Editor: Warn on UID duplicates
2024-09-18 17:40:49 +02:00
kobewi
8ab9205617 Don't show project settings starting with underscore 2024-09-18 15:16:42 +02:00
Haoyu Qiu
8a7713eb2d Fix inconsistency in FileSystem naming in shader editor menu 2024-09-18 10:59:31 +08:00
Rémi Verschelde
922ae7e7b5
Merge pull request #97113 from Giganzo/audio-corners
Fix EditorAudioBus corner radius
2024-09-17 21:02:34 +02:00
Rémi Verschelde
71b3221607
Merge pull request #97112 from KoBeWi/image_not_found
Fix generic conversion icon
2024-09-17 21:02:30 +02:00
Rémi Verschelde
a9dc9c3792
Merge pull request #97104 from detomon/fix-viewport-zoom-with-pan-gesture
Fix inconsistency in 3D editor navigation
2024-09-17 21:02:16 +02:00
Rémi Verschelde
7da3f81f9c
Merge pull request #96467 from KoBeWi/finally_we_can_add_editor_setting_for_everything_because_it_will_be_hidden_behind_advanced_toggle_anyway_lol
Add Advanced Settings switch to Editor Settings
2024-09-17 21:01:59 +02:00
Rémi Verschelde
353bc4d08f
Merge pull request #97111 from WhalesState/animation-track-editor
Fix animation `BezierEditor` uses only half the view.
2024-09-17 21:01:35 +02:00
Rémi Verschelde
48486eae30
i18n: Sync translations with Weblate
Adds Irish (ga) doc translations, and Bengali (bg) editor translations.

(cherry picked from commit 53cde2eb85)
2024-09-17 20:47:16 +02:00
kobewi
514bbbfde3 Fix generic conversion icon 2024-09-17 13:59:21 +02:00
Mounir Tohami
3af4eb9207 Fix animation bezierEditor uses only half the view. 2024-09-17 11:59:12 +00:00
Giganzo
5d62e12fcb Fix EditorAudioBus corner radius 2024-09-17 13:00:11 +02:00
kobewi
ad99c79472 Rework creating new folders in editor 2024-09-17 12:40:25 +02:00
kobewi
4023ace08d Add Advanced Settings switch to Editor Settings 2024-09-17 12:20:55 +02:00
detomon
4e1ae8b768 Fix inconsistency in 3D editor navigation
- Fix typo in orbit/zoom shortcut name
- Fix zoom when using trackpad
2024-09-17 11:40:02 +02:00
Rémi Verschelde
6bd833d2b8
Merge pull request #97028 from Hilderin/fix-error-reopening-non-existing-scene-on-startup
Fix error reopening non existing scene on startup
2024-09-17 09:17:57 +02:00
Rémi Verschelde
4ee5630a4b
Merge pull request #96909 from aXu-AP/script-list-default-width
Make script list default wider, minimum narrower
2024-09-17 09:17:46 +02:00
Rémi Verschelde
0eea8728b5
Merge pull request #88803 from raulsntos/dotnet/android-monovm
C#: Fallback to CoreCLR/MonoVM hosting APIs when hostfxr/NativeAOT fails
2024-09-17 09:17:39 +02:00
Rémi Verschelde
e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
Rémi Verschelde
13064c4ac8
Merge pull request #65585 from SaracenOne/filesystem_dock_conversion
Add support for resource conversion plugins in filesystem dock
2024-09-17 09:17:32 +02:00