Commit Graph

16882 Commits

Author SHA1 Message Date
Thaddeus Crews
a2e3473532
Merge pull request #98378 from dalexeev/doc-clarify-engine-debugger
Clarify `EngineDebugger` and `EditorDebugger*` documentation
2024-10-25 13:04:04 -05:00
Thaddeus Crews
6ad513b0e8
Merge pull request #97090 from KoBeWi/secret_cloning_research
Don't rescan filesystem when duplicating
2024-10-25 13:04:03 -05:00
Thaddeus Crews
cd3c86d604
Merge pull request #90047 from ajreckof/fix-editing-exported-nodes-in-array-as-text
Fix editing exported nodes in array as text.
2024-10-25 13:04:00 -05:00
Thaddeus Crews
851516eeec
Merge pull request #97711 from EAinsley/fix#94718
Fix freeze when data chunk size in WAV header is larger than the actual size
2024-10-25 13:03:57 -05:00
Thaddeus Crews
de6814daae
Merge pull request #94108 from Calinou/obj-import-add-generate-lods-shadow-mesh-lightmap-uv2
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
2024-10-25 13:03:50 -05:00
Thaddeus Crews
cf313e4492
Merge pull request #96786 from passivestar/spin-slider-focus-fix
Fix EditorSpinSlider blocking viewport from getting focus
2024-10-25 13:03:47 -05:00
Thaddeus Crews
f8f7e42044
Merge pull request #93578 from Calinou/editor-filesystem-dock-context-add-shortcuts
Add default keyboard shortcuts to various actions in the FileSystem dock
2024-10-25 13:03:43 -05:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Clay John
2a8869e0ac
Merge pull request #98323 from Calinou/advanced-import-settings-button-no-swap-ok-cancel
Don't swap Advanced Import Settings button position based on Swap OK Cancel
2024-10-24 19:13:55 -07:00
Hugo Locurcio
b8ee61f45d
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
This puts OBJ mesh import on parity with 3D scene import. It's now
possible to have the same level of optimization as imported 3D scenes
while using the OBJ mesh workflow.

`optimize_indices_for_cache()` is now always called on import as well,
similar to what the 3D scene import already does.
2024-10-25 02:48:42 +02:00
Thaddeus Crews
db60dcc4fb
Merge pull request #97277 from timothyqiu/meta-focus
Fix Add Metadata dialog not focusing name field by default
2024-10-24 13:23:06 -05:00
Thaddeus Crews
fd75707035
Merge pull request #78312 from Calinou/editor-add-markdown-highlighting
Add Markdown syntax highlighting to the script editor
2024-10-24 13:23:02 -05:00
Thaddeus Crews
fa673be2b1
Merge pull request #91341 from bjornmp/NewMaster
Enforce custom nodes to keep their original type
2024-10-24 13:22:56 -05:00
Thaddeus Crews
7974ba57e9
Merge pull request #97199 from shahriarlabib000/popup
Fix `Sprite2D` dialog size for smaller screen device
2024-10-24 13:22:51 -05:00
Thaddeus Crews
da01b2a462
Merge pull request #98063 from TCROC/fix-headless-import
Fix Headless --import --quit crashes editor
2024-10-24 13:22:36 -05:00
Thaddeus Crews
3b70a96164
Merge pull request #96518 from Giganzo/popup-panel-style
Fix PopupPanel and PopupMenu menu styles
2024-10-24 13:22:34 -05:00
Ainsley Su
cd126a041e
No freezing when size in header is too large
Give warning if the size in header mismatch the actual file size. If
data chunk size is greater than the actual data size, try to import by
treating all the remaining data as data chunk and give warning to users.
2024-10-23 16:53:10 +02:00
Haoyu Qiu
e321faa59b Fix Add Metadata dialog not focusing name field by default 2024-10-23 08:18:13 +08:00
bjornmp
06998a3927 Enforce that custom nodes keep their original type
Enforce that custom nodes and resources created via the "Create New Node" dialog, should permanently retain their original type (script). This means:

- Type continuity: It should be impossible for the user to (accidentally) clear the original script of a custom node that was created via the "Create New Node" dialog.

- Extensibility: The user should be able to extend custom types as usual (create a script that inherits the original type and replace the original script of that node with his own). However, if he then clears his extension-script from that node later on, the custom type should revert to its original script instead of becoming a non-scripted type.
2024-10-22 18:18:16 +02:00
Thaddeus Crews
a4ed24acef
Merge pull request #98041 from Hilderin/fix-lost-gdextensions-on-startup
Fix loss of gdextension on editor startup
2024-10-21 16:39:30 -05:00
Thaddeus Crews
77da16ce69
Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 -05:00
Thaddeus Crews
291e4b78e2
Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactor
Don't include `core/io/image.h` in `core/os/os.h`
2024-10-21 16:39:15 -05:00
Thaddeus Crews
7a438dc72e
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
Thaddeus Crews
ecc2eb73fc
Merge pull request #97707 from Sauermann/fix-input-device-clash
Fix `InputEvent` device id clash
2024-10-21 16:39:10 -05:00
Thaddeus Crews
975f42227f
Merge pull request #97706 from lalitshankarchowdhury/fix-create-folder
Display proper message on invalid folder path
2024-10-21 16:39:10 -05:00
Thaddeus Crews
5fb22327ee
Merge pull request #97542 from AThousandShips/dict_sort_fix
[Core] Fix sorting of `Dictionary` keys
2024-10-21 16:39:05 -05:00
Danil Alexeev
be41e6f84e
Clarify EngineDebugger and EditorDebugger* documentation 2024-10-21 11:36:59 +03:00
Hilderin
fbd1643176 Fix lost of gdextension on editor startup.
Co-authored-by: NetroScript <noreply@enostrion.com>"
2024-10-20 18:39:31 -04:00
Markus Sauermann
916d480686 Fix InputEvent device id clash
`InputMap::ALL_DEVICES` and `InputEvent::DEVICE_ID_EMULATION` have the
same value `-1`.

Change value of `InputMap::All_DEVICES` so that it's different from
`InputEvent::DEVICE_ID_EMULATION`. `InputEvent::DEVICE_ID_EMULATION`
is part of the API and can't be changed without potentially breaking
projects.

Gather all special device constants in a single location inside
`InputEvent`.

Add a converter to project settings, that takes care of adjusting
project files during loading.
2024-10-20 21:56:41 +02:00
Giganzo
549bffdcbc Fix PopupPanel menu style 2024-10-20 13:26:45 +02:00
Hugo Locurcio
567db2ecb2 Don't swap Advanced Import Settings button position based on Swap OK Cancel
The "Advanced..." and "Reimport" buttons are not OK/Cancel buttons,
so they shouldn't be swapped according to the editor setting (which
itself is determined depending on the OS by default).
2024-10-18 23:28:11 +02:00
Hugo Locurcio
8e0c0d7837 Improve display for lightmap probes in the editor
- Use the default Back cull mode to improve performance slightly
  and prevent obstructing the camera.
- Fade probes when the camera gets close as to be less intrusive.
2024-10-18 22:52:50 +02:00
Chaosus
43a99fba3d Add alpha channel display to vec4 previews of visual shader nodes 2024-10-18 20:00:10 +03:00
Yevhen Babiichuk (DustDFG)
af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
A Thousand Ships
79f654ced5
[Core] Fix sorting of Dictionary keys
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
Clay John
4dd0b67ec9
Merge pull request #98254 from timothyqiu/marker-typos
Fix typos in `AnimationMarkerEdit`
2024-10-17 21:24:11 -07:00
Clay John
1435247de0
Merge pull request #98222 from timothyqiu/media-control-rtl
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Don't flip playback control buttons in RTL layout
2024-10-17 16:58:23 -07:00
Clay John
f6279ffd56
Merge pull request #97885 from timothyqiu/useful-tooltip
Make `EditorFileDialog`'s Recent and Fav list show full path in tooltip
2024-10-17 16:53:55 -07:00
Lalit Shankar Chowdhury
25687c5b99
Display proper message on invalid folder path 2024-10-17 13:06:48 +05:30
Haoyu Qiu
3d07fced0c Fix typos in AnimationMarkerEdit 2024-10-17 08:12:00 +08:00
David Giardi
ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +02:00
Thaddeus Crews
324659f0ca
Merge pull request #97564 from kitbdev/animation-bezier-editor-fix-box-select-mouse
Fix mouse clamping in Animation Bezier Editor box select
2024-10-16 14:16:04 -05:00
Thaddeus Crews
78dbd39d1e
Merge pull request #98196 from bruvzg/u16_list
[Font Importer] Update Unicode block list to Unicode 16.0
2024-10-16 14:16:03 -05:00
Thaddeus Crews
c032acb865
Merge pull request #98156 from jaydensipe/show-custom-icons-in-remote-scene-view
Show correct icons in remote object inspector (EditorDebuggerRemoteObject)
2024-10-16 14:16:00 -05:00
Thaddeus Crews
7f108cfa12
Merge pull request #88427 from CrayolaEater/fix-no-icons-on-remote-nodes
Fix Remote Nodes missing custom icons
2024-10-16 14:15:59 -05:00
Dan Nicholson
b05aab4b33 Fix selecting root node before button released
In order to test if the button press is within the scene tree, the
Tree's coordinates should be used, not the SceneTreeEditor's.
2024-10-16 05:51:08 -06:00
Haoyu Qiu
ce1a0b0014 Improve Select Markers dialog in AnimationTree editor
- Align OptionButtons
- Remove unnecessary ellipses from title
- Don't translate marker names
2024-10-16 17:14:14 +08:00
Haoyu Qiu
9ed655d0eb Don't flip playback control buttons in RTL layout 2024-10-16 16:28:11 +08:00
Jayden Sipe
7261321d34 Show correct icons in EditorDebuggerRemoteObject 2024-10-15 16:40:16 -04:00
Allen Pestaluky
920fd47fa3 Fix CONTAINER_PROJECT_SETTING_TAB_RIGHT option of EditorPlugin to add to the right of all other tabs. 2024-10-15 15:32:14 -04:00
Bogdan Inculet
fb58ea6c89 Fixed Remote Nodes missing custom icons 2024-10-15 22:28:53 +03:00
Hunter Loftis
bbb8c1703b Fix freeze on non-thread-safe custom importers 2024-10-15 11:46:14 -04:00
bruvzg
e4b8cd2948
[Font Importer] Update Unicode block list to Unicode 16.0 2024-10-15 12:40:30 +03:00
Thaddeus Crews
03f6902c4a
Merge pull request #97560 from SaracenOne/fix_anim_library_popup
Fix positioning of popup menu in AnimationLibrary editor.
2024-10-14 14:09:59 -05:00
Thaddeus Crews
56ed76a372
Merge pull request #97582 from BlueCube3310/basisu-hdr
BasisU: Update to 1.50.0 and add HDR support
2024-10-14 14:09:57 -05:00
Thaddeus Crews
e15000eb45
Merge pull request #97833 from AtlaStar/Fix-issue-97832
Allow seconds snapping to use minimum intervals of 0.0001 once more
2024-10-14 14:09:55 -05:00
Thaddeus Crews
a7b4e67c79
Merge pull request #97996 from timothyqiu/rtl-arrow
Fix `ControlEditorPopupButton` arrow position in RTL language
2024-10-14 14:09:53 -05:00
Thaddeus Crews
e4dcef38e4
Merge pull request #97929 from timothyqiu/rtl-checkbutton
Fix `CheckButton` mirrored icon in editor theme
2024-10-14 14:09:50 -05:00
Thaddeus Crews
5c7059ec69
Merge pull request #97830 from BlueCube3310/teximport-hdr-lossless
Fix layered HDR texture import with lossless compression
2024-10-14 14:09:48 -05:00
Thaddeus Crews
a272d676ce
Merge pull request #96740 from ryevdokimov/collision_reposition
Use collision detection ray to reposition an object already in the scene
2024-10-14 14:09:43 -05:00
Thaddeus Crews
5c00d0a54e
Merge pull request #94371 from KoBeWi/insane_particle_unification_😱
Unify particle editors
2024-10-14 14:09:42 -05:00
BlueCube3310
200ed0971a BasisU: Update to 1.50.0 and add HDR support 2024-10-12 18:02:44 +02:00
HolonProduction
9ea357af20 Editor: Improve cylinder gizmos 🌈 2024-10-11 18:38:36 +02:00
Thaddeus Crews
92e51fca72
Merge pull request #97979 from BlueCube3310/fix-thumb-gen
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Fix crash when creating thumbnails for 3d textures
2024-10-10 18:13:24 -05:00
Thaddeus Crews
e589074f69
Merge pull request #97940 from syntaxerror247/a_refreshing_bug
Refresh Filesystem Dock after android build template is created
2024-10-10 18:13:23 -05:00
Thaddeus Crews
168e605ad7
Merge pull request #97563 from SaracenOne/key_sub_paths
Fix keying of property subpaths.
2024-10-10 18:13:21 -05:00
Thaddeus Crews
9d5a7321a5
Merge pull request #95175 from KoBeWi/bruh_can_revert
Fix implementation of `property_can_revert()` in various classes
2024-10-10 18:13:16 -05:00
Derrick Melton
8c93e8667c Allow seconds snapping to use minimum intervals of 0.0001 once more
closes #97832, also clears up some of the naming conventions used. Confirmed that entering values when `seconds` is selected where the fractional part is less than 0.0001 floors, while fractional values greater than that are retained. Doesn't revert previous behaviors for FPS, which still clamp to the nearest 1/16.
2024-10-10 15:42:37 -07:00
kobewi
68341968f9 Fix wrong base directory when creating folder 2024-10-11 00:22:51 +02:00
Zi Ye
77c444b80b Fix inverted vertical zoom interaction in animation curve editor 2024-10-09 13:26:22 -05:00
BlueCube3310
203f7427c4 Fix crash when creating thumbnails for 3d textures 2024-10-09 12:34:19 +02:00
Haoyu Qiu
3a9f470543 Fix ControlEditorPopupButton arrow position in RTL language 2024-10-09 08:56:16 +08:00
Travis Lange
96ab05e89f clear addon_name_to_plugin ater unload_editor_addons because of memdelete 2024-10-08 14:06:45 -04:00
tetrapod00
12d2c05936 Add "Inspect Native Shader Code" to shader resource and shader editor 2024-10-08 11:02:45 -07:00
Matt Enad
22b220b6a4 Restore Godot preset zoom modifier 2024-10-08 14:01:54 -04:00
Anish Mishra
2323042e7b Refresh Filesystem Dock after android build template is created 2024-10-08 06:30:44 +05:30
Mounir Tohami
5862da6f90 Fix EditorSpinSlider grapper TextureRect doesn't follow parent when scrolling. 2024-10-07 18:34:39 +00:00
ev13bird
ac77c95ee1 Add icon for Inspector dock context menu Show in FileSystem item 2024-10-08 02:09:53 +11:00
Juan
db25c8fce1 Exposed path properties save UID if referencing a resource
Currently, if a user or some resource exposes a path in a script,
if this references a resource path it will be saved as a full path.

This will make refactoring not work if the resource pointed towards
changes location or is renamed.

This change makes it so an uid:// path is saved internally in case
a path to a resource has been selected, effectively making it refactor proof.
2024-10-07 15:33:37 +02:00
Haoyu Qiu
422aee7f32 Fix CheckButton mirrored icon in editor theme 2024-10-07 21:03:14 +08:00
Haoyu Qiu
ecb56fca26 Make EditorFileDialog's Recent and Fav list show full path in tooltip 2024-10-06 21:32:31 +08:00
Haoyu Qiu
8086894a8e Create .editorconfig file only on project creation 2024-10-05 14:32:55 +08:00
BlueCube3310
77dab88ef0 Fix 3D HDR texture import with lossless compression 2024-10-04 23:38:39 +02:00
Robert Yevdokimov
fb768a7118 Use collision detection ray to reposition an object already in the scene 2024-10-04 17:13:46 -04:00
kobewi
b9d25580ce Fix implementation of property_can_revert() in various classes 2024-10-04 23:02:04 +02:00
kobewi
7f7f9b2513 Optimize FileSystem Dock filtering 2024-10-04 22:56:59 +02:00
Rémi Verschelde
db66bd35af
Merge pull request #97820 from passivestar/quick-open-bg
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
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
kobewi
7377ca8d7d Don't rescan filesystem when duplicating 2024-10-04 16:15:32 +02: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
Yevhen Babiichuk (DustDFG)
4a5ae8c388 Fix tooltip message of button that opens groups/signals dock
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-02 13:35:12 +03: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
Lalit Shankar Chowdhury
c574377a1c
AudioStreamImport: Allow waveform resize 2024-09-29 13:58:25 +05:30
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