Commit graph

16737 commits

Author SHA1 Message Date
kobewi
b9d25580ce Fix implementation of property_can_revert() in various classes 2024-10-04 23:02:04 +02:00
Rémi Verschelde
db66bd35af
Merge pull request #97820 from passivestar/quick-open-bg
Fix quick open background panel style
2024-10-04 22:44:00 +02:00
Rémi Verschelde
aaffffcd43
Merge pull request #97817 from bruvzg/prop_warn_remove
Partially revert #96780, remove warnings from project/editor settings `_get`.
2024-10-04 22:43:56 +02:00
Rémi Verschelde
def5a04d06
Merge pull request #97543 from KoBeWi/to_edit_or_not_to_edit
Fix closing Theme Editor not actually closing it
2024-10-04 22:43:41 +02:00
Rémi Verschelde
e5688f51cb
Merge pull request #97292 from KoBeWi/infinite_submenus_in_your_editor
Add submenu support to EditorContextMenuPlugin
2024-10-04 22:43:38 +02:00
Rémi Verschelde
0c3ff561d7
Merge pull request #96615 from KoBeWi/run_as_administrator
Globally remember advanced toggle in project settings
2024-10-04 22:43:25 +02:00
Rémi Verschelde
c36c153c2b
Merge pull request #96379 from KoBeWi/wind_of_resource_changes
Add `_resource_changed()` helper method to EditorResourcePicker
2024-10-04 22:43:21 +02:00
Rémi Verschelde
0d1873da9c
Merge pull request #95544 from KoBeWi/clean_code™
Misc code cleanup in EditorFileDialog
2024-10-04 22:43:13 +02:00
Rémi Verschelde
b08a3d8978
Merge pull request #95149 from KoBeWi/inspector_mains
Don't fold resources when child of main inspector exits
2024-10-04 22:43:08 +02:00
Rémi Verschelde
fe31ede42d
Merge pull request #95034 from KoBeWi/take_a_problem_and_make_it_worse._solved
Close expanded tile editor when inspector updates
2024-10-04 22:43:02 +02:00
Rémi Verschelde
aa4077338b
Merge pull request #94880 from KoBeWi/never-before-seen_way_to_restart_editor
Call `restart_editor()` in `RUN_PROJECT_MANAGER`
2024-10-04 22:42:56 +02:00
Rémi Verschelde
21353460f7
Merge pull request #88511 from ryevdokimov/offset-drag-to-instantiate-scene
Offset drag instantiated scenes that result in a collision by its bounds to mitigate overlap
2024-10-04 22:42:52 +02:00
kobewi
a4d724b37c Unify particle editors 2024-10-04 22:36:12 +02:00
kobewi
4a747bdef9 Add _resource_changed() helper method to EditorResourcePicker 2024-10-04 22:29:43 +02:00
passivestar
08af57fb86 Fix quick open background panel style 2024-10-05 00:20:19 +04:00
bruvzg
794920b1ff
Partially revert 96780, remove warnings from project/editor settings _get. 2024-10-04 19:13:03 +03:00
Rémi Verschelde
428c4a6468
Merge pull request #97633 from ydeltastar/quickly-quick-open
Make the "Quick Open" dialog available via `EditorInterface`
2024-10-04 17:18:18 +02:00
yds
35b3999efc Make the "Quick Open" dialog available via EditorInterface 2024-10-04 11:36:17 -03:00
Mounir Tohami
f84f734696 Expose LineEdit edit and unedit methods. 2024-10-04 10:37:33 +00:00
Rémi Verschelde
34920b45ef
Merge pull request #97747 from adamscott/ux-sun-angle
Improve UI of sun angle in the sun/preview env popup
2024-10-04 11:22:06 +02:00
Rémi Verschelde
783b15078d
Merge pull request #97585 from rsubtil/feature-dap_object_inspection
Support object inspection through DAP
2024-10-04 11:21:46 +02:00
Rémi Verschelde
b7ed7f7a16
Merge pull request #96850 from bruvzg/noto_cjk_lookup
[Editor] Try loading system Noto CJK font.
2024-10-04 11:21:24 +02:00
Ricardo Subtil
9dd7a8ae42 Bump DAP requests timeout to 5 seconds 2024-10-03 21:57:24 +01:00
Ricardo Subtil
0d098d3cca Support REPL expressions through DAP evaluate request 2024-10-03 21:28:38 +01:00
Ricardo Subtil
6aac039ee7 Support object inspection through DAP variables request 2024-10-03 21:28:38 +01:00
Rémi Verschelde
0f1c7e6b24
Merge pull request #97674 from jaydensipe/cancel-code-completion-and-hint-on-goto-line
Cancel code completion and code hint upon go-to line (bookmark, breakpoint, etc.)
2024-10-03 15:36:40 +02:00
Rémi Verschelde
45d3ea32f8
Merge pull request #97765 from bruvzg/gde_export_errors
[GDExtension] Improve error messages during export.
2024-10-03 15:27:27 +02:00
Rémi Verschelde
c8accdb276
Merge pull request #97569 from AtlaStar/fix-issue-97548
Allow fractional FPS values in Animation Editor
2024-10-03 15:27:20 +02:00
Rémi Verschelde
98deb2a000
Merge pull request #90400 from DarioSamo/transfer_and_pipelines
Ubershaders and pipeline pre-compilation (and dedicated transfer queues).
2024-10-03 15:27:11 +02:00
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
kit
5af917e763 Fix mouse clamping in Animation Bezier box select 2024-09-27 22:25:41 -04: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