Commit Graph

72966 Commits

Author SHA1 Message Date
afe68f672f Add support for "Mute Game" toggle in the Android Editor 2025-03-21 01:33:38 +05:30
622dbe3713 Web: Fix editor build after #pragma once refactoring 2025-03-20 18:43:16 +01:00
03359c8735 Merge pull request #104384 from Hilderin/fix-crash-reimport-nested-gltf-scene
Fix crash when reimporting nested gltf scenes
2025-03-20 17:28:36 +01:00
12384d93db Merge pull request #104403 from bruvzg/uid_pm_fix
Fix icons with non-ASCII file names in project manager.
2025-03-20 16:42:20 +01:00
44d10c576e Improve documentation for return value of Packed*Array.resize
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-03-20 16:21:01 +01:00
abe413ff8c Fix icons with non-ASCII file names in project manager. 2025-03-20 16:33:01 +02:00
143f8e933e Optimize Color::to_html by allocating less. 2025-03-20 13:42:03 +01:00
9d3c950b5d OpenXR: Clean-up OpenXRExtensionWrapper by removing multiple inheritance and deprecating OpenXRExtensionWrapperExtension 2025-03-20 07:19:55 -05:00
5d794f83ed Tweak a few miscellaneous localization strings 2025-03-20 13:12:44 +01:00
6f1b75fd79 Prompt to restart when project data (.godot) is missing 2025-03-20 19:35:05 +08:00
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
275f046e4a Path3D: custom debug color and custom debug show 2025-03-20 06:49:04 +02:00
c33c3fe2ed Remove pointless _3D_DISABLED checks in editor code 2025-03-19 23:47:36 -03:00
efc3e3aea7 Fix crash when reimporting nested gltf scenes 2025-03-19 19:17:46 -04:00
97241ffea6 Merge pull request #99555 from Meorge/mute-game
Add "Mute Game" toggle in Game view
2025-03-19 17:46:11 -05:00
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
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
17ae1d7728 Merge pull request #90226 from kitbdev/dock-shortcuts
Add Open Dock shortcuts
2025-03-19 17:46:07 -05:00
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
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
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
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
956db92c65 Add instruction to wrap nested classes in JavaClassWrapper 2025-03-20 02:25:26 +05:30
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
abe1b4b799 Update workspace list in various files 2025-03-19 13:01:33 -04:00
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
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
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
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
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
5045d549f9 Merge pull request #99515 from KoBeWi/shapez.godot
Refactor ColorPicker shapes
2025-03-19 14:53:57 +01:00
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
2776d32a1e i18n: Sync translations with Weblate
(cherry picked from commit ce7a785682)
2025-03-19 14:51:42 +01:00
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
c7ca36b827 Fix use after free in the editor inspector section cleanup. 2025-03-19 14:37:26 +02:00
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
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
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
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
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
18cd665202 Merge pull request #104206 from KoBeWi/unshape
Unbind `CSGShape::_update_shape()` and make it public
2025-03-19 12:27:23 +01:00
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
9ca0de58bb Merge pull request #104136 from KoBeWi/cleaning_camera
Camera2D code cleanup
2025-03-19 12:27:14 +01:00
2fa721b1bc Merge pull request #104127 from Ivorforce/360-noclip
Remove `String` clipping constructors.
2025-03-19 12:27:10 +01:00
9f67aeaae8 Merge pull request #104022 from precup/create_directory_fix
Defend against directories without trailing slashes
2025-03-19 12:27:07 +01:00
e0c9978cff Merge pull request #103912 from unvermuthet/texture-size-changed
VideoStreamPlayer: Redraw when stream resolution changes
2025-03-19 12:27:02 +01:00
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
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
53749174a3 Merge pull request #103607 from dugramen/stylebox-fix-overlaps
StyleBoxFlat: Fix glitchy overlapping shapes
2025-03-19 12:26:45 +01:00