Commit Graph

80742 Commits

Author SHA1 Message Date
Micky 5d794f83ed Tweak a few miscellaneous localization strings 2025-03-20 13:12:44 +01:00
LuoZhihao 6f1b75fd79 Prompt to restart when project data (.godot) is missing 2025-03-20 19:35:05 +08:00
Haoyu Qiu 3300f669b4 Fix typos in ProjectSettings class reference
- `[b]Node:[/b]` should be `[b]Note:[/b]`
- `max FPS` should be used instead of unquoted `max_fps` when not referring to the property
- Some minor capitalization and markup fixes.
2025-03-20 15:21:17 +08:00
ywmaa 275f046e4a Path3D: custom debug color and custom debug show 2025-03-20 06:49:04 +02:00
Jayden Sipe 65bb9de5c3 Minor doc update for low_processor_mode_sleep_usec editor settings 2025-03-19 22:53:11 -04:00
Michael Alexsander c33c3fe2ed Remove pointless _3D_DISABLED checks in editor code 2025-03-19 23:47:36 -03:00
Hilderin efc3e3aea7 Fix crash when reimporting nested gltf scenes 2025-03-19 19:17:46 -04:00
Thaddeus Crews 97241ffea6 Merge pull request #99555 from Meorge/mute-game
Add "Mute Game" toggle in Game view
2025-03-19 17:46:11 -05:00
Thaddeus Crews 5bb1a2cb0f Merge pull request #104249 from jamie-pate/fix_104193
Correct occlusion culling viewport location calculation when projection uses asymmetric fov
2025-03-19 17:46:10 -05:00
Thaddeus Crews a76c1ac1d6 Merge pull request #104141 from BrotherShort/treeitem-rename-edit-offset
Fix the TreeItem rename LineEdit is offset
2025-03-19 17:46:08 -05:00
Thaddeus Crews 17ae1d7728 Merge pull request #90226 from kitbdev/dock-shortcuts
Add Open Dock shortcuts
2025-03-19 17:46:07 -05:00
Thaddeus Crews f6a35e2a6e Merge pull request #86015 from kitbdev/array-initializer-list
Add list initialization to Array, Variant, and TypedArray
2025-03-19 17:46:06 -05:00
Thaddeus Crews db75f8f96a Merge pull request #104364 from syntaxerror247/javaclasswrapper-docs
Add instruction to wrap nested classes in `JavaClassWrapper`
2025-03-19 17:46:05 -05:00
Thaddeus Crews 60c706e2d5 Merge pull request #102846 from jaydensipe/fix-empty-theme-override-delete-all
Fix empty type removal in theme editor causing all empty types to be deleted
2025-03-19 17:46:04 -05:00
Thaddeus Crews 1fbcefeb63 Merge pull request #104376 from ProgrammerOnCoffee/update-workspace-list
Add `Game` workspace to documentation and autocomplete
2025-03-19 17:46:02 -05:00
Anish Mishra 956db92c65 Add instruction to wrap nested classes in JavaClassWrapper 2025-03-20 02:25:26 +05:30
Carsten c774075405 Update StringName.xml
Fixed hex_decode() example
2025-03-19 19:46:03 +01:00
Carsten d4363d5cdd Update String.xml
Fixed hex_decode() example
2025-03-19 19:45:13 +01:00
Jamie Pate 8e3e2a8f44 Calculate the viewport location correctly in OpenXR
Fixes #104193

In OpenXR the viewport location is not centered on the transform origin
2025-03-19 10:04:37 -07:00
ProgrammerOnCoffee abe1b4b799 Update workspace list in various files 2025-03-19 13:01:33 -04:00
DeeJayLSP 044444f2e2 Reduce memory overhead of save_to_wav 2025-03-19 13:19:10 -03:00
aaronp64 3eb4e6c6ff Optimize Array methods with SWAP/std::move
Updated Array::shuffle() to use SWAP instead of copying through temporary variables, which makes shuffling simple types around 2x faster, and refcounted object types around 20x faster.

Also updated multiple methods that insert into/modify the array to move their validated Variant to avoid an extra copy, speed increase varies depending on type and how much else the methods are doing, usually around 5-10% faster.
2025-03-19 12:17:14 -04:00
Yufeng Ying c37c92b450 Optimize ClassDB::get_direct_inheriters_from_class.
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-03-19 23:26:46 +08:00
Malcolm Anderson 6858607e74 Add "Mute Audio" button to Game view in editor
Update servers/audio_server.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Adam Scott <ascott.ca@gmail.com>

Fix a few lines for new member names

Add command-line argument `--debug-mute-audio`, and pass it to game if started with mute enabled

Apply suggestions from code review

Co-authored-by: arkology <43543909+arkology@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Fix icon for svgo
2025-03-19 08:20:17 -07:00
Pāvels Nadtočajevs f3b6a4009d [Export] Convert uid:// names to res:// when exporting files. 2025-03-19 16:58:52 +02:00
kit 4a65775dc5 Add shortcuts for opening docks 2025-03-19 10:39:45 -04:00
Rémi Verschelde ef1153baf3 Merge pull request #104362 from bruvzg/ed_insp_list_erase
Fix use after free in the editor inspector section cleanup.
2025-03-19 14:54:01 +01:00
Rémi Verschelde 5045d549f9 Merge pull request #99515 from KoBeWi/shapez.godot
Refactor ColorPicker shapes
2025-03-19 14:53:57 +01:00
Rémi Verschelde 021b5a4773 Merge pull request #69406 from KoBeWi/The_Assassination_of_ABS_by_the_Math--abs
Remove `ABS` in favor of `Math::abs`
2025-03-19 14:51:57 +01:00
Rémi Verschelde 2776d32a1e i18n: Sync translations with Weblate
(cherry picked from commit ce7a7856828ffd71eafdbb3ae25de40ccb4349b5)
2025-03-19 14:51:42 +01:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
bruvzg c7ca36b827 Fix use after free in the editor inspector section cleanup. 2025-03-19 14:37:26 +02:00
Rémi Verschelde 3d9b05ad4a Merge pull request #104341 from stuartcarnie/103602/metal_fix_cubemaps
Renderer: Fix Metal handling of cube textures; assert equal dimensions
2025-03-19 12:27:41 +01:00
Rémi Verschelde 8f1d4812e1 Merge pull request #104335 from kleonc/scene_change_fix_freeing_freed_prev_scene
Don't free already freed scenes when changing `SceneTree` current scene
2025-03-19 12:27:37 +01:00
Rémi Verschelde c94d783bf5 Merge pull request #104331 from aaronfranke/warn-pos-not-transform
Change root node transform warning to only show up for position
2025-03-19 12:27:34 +01:00
Rémi Verschelde 0648f55276 Merge pull request #104328 from Grublady/popup-mouse-enter
Update mouse-entered state when subwindow closes (macOS display server)
2025-03-19 12:27:30 +01:00
Rémi Verschelde 64bd03269f Merge pull request #104286 from Ivorforce/localvector-find
Harmonize `String`, `Vector` and `LocalVector` `find` and `rfind`.
2025-03-19 12:27:27 +01:00
Rémi Verschelde 18cd665202 Merge pull request #104206 from KoBeWi/unshape
Unbind `CSGShape::_update_shape()` and make it public
2025-03-19 12:27:23 +01:00
Rémi Verschelde 94f0ce4a96 Merge pull request #104192 from arkology/tile_editors_ui_ux
Improve/fix `TileMap` and `TileSet` editors UI
2025-03-19 12:27:18 +01:00
Rémi Verschelde 9ca0de58bb Merge pull request #104136 from KoBeWi/cleaning_camera
Camera2D code cleanup
2025-03-19 12:27:14 +01:00
Rémi Verschelde 2fa721b1bc Merge pull request #104127 from Ivorforce/360-noclip
Remove `String` clipping constructors.
2025-03-19 12:27:10 +01:00
Rémi Verschelde 9f67aeaae8 Merge pull request #104022 from precup/create_directory_fix
Defend against directories without trailing slashes
2025-03-19 12:27:07 +01:00
Rémi Verschelde e0c9978cff Merge pull request #103912 from unvermuthet/texture-size-changed
VideoStreamPlayer: Redraw when stream resolution changes
2025-03-19 12:27:02 +01:00
Rémi Verschelde 7b21950fb0 Merge pull request #103751 from bruvzg/glob_menu_icons_theme
[Editor] Change global menu icons theme independently of editor theme.
2025-03-19 12:26:57 +01:00
Rémi Verschelde 22e41a2b5f Merge pull request #103728 from bruvzg/lbl_min_sz_ex_sp
[Label] Fix min. size calculation counting extra spacing twice.
2025-03-19 12:26:51 +01:00
Rémi Verschelde 53749174a3 Merge pull request #103607 from dugramen/stylebox-fix-overlaps
StyleBoxFlat: Fix glitchy overlapping shapes
2025-03-19 12:26:45 +01:00
Rémi Verschelde 65161977e9 Merge pull request #103415 from bruvzg/iv_pools
Use single RNG instance for `FileAccessEncrypted` IV generation.
2025-03-19 12:26:38 +01:00
Rémi Verschelde a117a2b09c Merge pull request #101980 from bruvzg/init_scale
[DisplayServer] Decouple `show_window(MAIN_WINDOW_ID)` from `DisplayServer` constructor, update project manager size/position after DS init.
2025-03-19 12:26:33 +01:00
Rémi Verschelde 05a9e0153a Merge pull request #101951 from BastiaanOlij/openxr_futures
Add support for the OpenXR futures extension
2025-03-19 12:26:30 +01:00
Rémi Verschelde b2950e8138 Merge pull request #101904 from bruvzg/win_export_update_icon_cache
Update Windows icon cache after export.
2025-03-19 12:26:26 +01:00