Commit graph

16707 commits

Author SHA1 Message Date
Rémi Verschelde
3b41f73105
Merge pull request #80473 from KoBeWi/they're_the_same_picture
Unify make dir and duplicate dialogs
2024-10-03 15:27:04 +02:00
bruvzg
3ab1b75117
[GDExtension] Improve error messages during export. 2024-10-03 14:54:40 +03:00
Derrick Melton
8a8d40ccc0 Allow fractional FPS values in Animation Editor
Closes #97548. Care also taken to not reopen issue #92273 by ensuring that the value rounds to the nearest sixteenth. Optionally any factor of 2 should work while ensuring that there isn't error accumulation.

Further testing to ensure issue #91729 isn't reopened, but initial testing suggests that the issue will not reopen with this PR.
2024-10-02 16:46:11 -07:00
Adam Scott
b3805840ea
Fix UI of sun angle in the sun/preview env popup 2024-10-02 14:12:33 -04:00
Dario
e2c6daf7ef Implement asynchronous transfer queues, thread guards on RenderingDevice. Add ubershaders and rework pipeline caches for Forward+ and Mobile.
- Implements asynchronous transfer queues from PR #87590.
- Adds ubershaders that can run with specialization constants specified as push constants.
- Pipelines with specialization constants can compile in the background.
- Added monitoring for pipeline compilations.
- Materials and shaders can now be created asynchronously on background threads.
- Meshes that are loaded on background threads can also compile pipelines as part of the loading process.
2024-10-02 15:11:58 -03:00
Stijn Hinlopen
6d23fac021 Fix crash in QuickOpenDialog because of double free. 2024-10-02 19:42:07 +02:00
Rémi Verschelde
1917bc3454
Merge pull request #97490 from Calinou/project-manager-rd-unsupported-show-gpu-name
Show GPU name when RenderingDevice is unsupported in the project creation dialog
2024-10-02 15:01:38 +02:00
Rémi Verschelde
1da8a2a1ba
Merge pull request #97416 from Calinou/lightmapgi-check-rendering-device-availability
Check RenderingDevice availability to display LightmapGI configuration warnings
2024-10-02 15:01:34 +02:00
Rémi Verschelde
15cee4b8e0
Merge pull request #97710 from anvilfolk/think-of-the-dooooooooooooooocs
Fix GDScript docs not updating when modified externally
2024-10-02 15:01:27 +02:00
Rémi Verschelde
336d91551d
Merge pull request #97281 from reptofrog/deadzone-new-default
Input: Change the default deadzone value for new actions from 0.5 to 0.2
2024-10-02 15:01:02 +02:00
kobewi
e2a96dde48 Unify make dir and duplicate dialogs 2024-10-02 14:57:37 +02:00
ocean
0ad55e964f Fix GDScript docs not updating when modified externally 2024-10-01 20:06:28 -04:00
Stijn Hinlopen
06791e1acd New Quick Open Dialog
- Updated list view with thumbnails, and separate file name.
  - Added a grid view which has larger icons.
  - Added toggle to filter out files from addons.
  - Store history for each opened resource type.

New Editor settings for Quick Open:
  - Startup display mode (grid or list):
      - Determined by the requested resource type.
      - Whatever was last used.
  - Toggle to filter out files from addons (for persistence).

Notes
  - The dialog is now created once in EditorNode, and globally available for other components.
  - A fixed number of result scenes are instantiated, and reused based on query.
  - Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Jayden Sipe
b72d8a3dff Cancel code completion and code hint in multiple places 2024-10-01 12:40:40 -04:00
Rémi Verschelde
79804a8e77
Merge pull request #97647 from KoBeWi/yearly_REPL_pull_request
Add expression evaluater to debugger (REPL)
2024-10-01 17:31:31 +02:00
Rémi Verschelde
8aabdc457f
Merge pull request #97527 from timothyqiu/version-button
Unify editor version buttons
2024-10-01 17:31:10 +02:00
Rémi Verschelde
7d4e06e3a1
Merge pull request #97333 from bits-by-brandon/consolidate-window-remember-editor-settings
Consolidate remembering window settings into single config
2024-10-01 17:30:53 +02:00
Rémi Verschelde
70ac89e776
Merge pull request #96980 from m4gr3d/enable_legacy_build_customization_by_plugin
Expose `get_export_option_visibility` to editor plugins
2024-10-01 17:30:49 +02:00
Rémi Verschelde
60708ccbfe
Merge pull request #96542 from Maran23/inspector-scrolls-away
Fix Inspector may scroll away when editing a property that adds or removes sub properties
2024-10-01 17:30:45 +02:00
Rémi Verschelde
0fd62f7525
Merge pull request #96124 from AeioMuch/check_mouse_pos_inside_inspector
Prevent selecting the hovered node if the mouse is not inside the inspector dock
2024-10-01 17:30:41 +02:00
Rémi Verschelde
cf1d910e10
Merge pull request #92237 from timothyqiu/url-fragment
String: Parse fragment from URL
2024-10-01 17:30:16 +02:00
Rémi Verschelde
8c16e67e4d
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
2024-10-01 17:30:13 +02:00
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
Saracen
77e803f2f3 Fix keying of property subpaths. 2024-09-28 06:52:05 +01:00
Saracen
ee01fcc713 Fix positioning of popup menu in AnimationLibrary editor. 2024-09-28 01:03:23 +01: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