Commit graph

64286 commits

Author SHA1 Message Date
Rémi Verschelde
578d937927
Merge pull request #90631 from AThousandShips/array_iter_fix
[Core] Fix incorrect comparison for `Array` const iterator
2024-04-13 18:43:01 +02:00
Hugo Locurcio
c3a4b4c5ae Don't print warning messages for DisplayServer functions in headless mode
DisplayServer methods that only have a cosmetic effect print a warning (instead
of an error). These warnings can be silenced in headless mode, as it's assumed
that the cosmetic effect is undesired in headless mode anyway (e.g. changing
mouse cursor shape).

This prevents spurious warnings from appearing when running the editor in
headless mode, e.g. on CI to export a project.

Methods that print an error will continue to do so, as their
returned value may not match expectations and have cascading consequences
on the project (e.g. clipboard data not being retrievable).
2024-04-13 18:18:47 +02:00
A Thousand Ships
80cb914e06
[Core] Fix incorrect comparison for Array const iterator 2024-04-13 17:32:33 +02:00
Rémi Verschelde
43b32f9d0b
Merge pull request #90626 from Repiteo/scons/msvc-sucks-eggs
SCons: Fix `silence_msvc` regression
2024-04-13 16:39:29 +02:00
Rémi Verschelde
b2b51e10f8
Merge pull request #90622 from AThousandShips/doc_fix
[Doc] Fix incorrect reference to `input_pickable`
2024-04-13 16:39:26 +02:00
Rémi Verschelde
73f5eeb7d4
Merge pull request #66744 from aaronfranke/group-2d
Reorganize some code to have 2D things grouped together
2024-04-13 16:39:23 +02:00
Thaddeus Crews
6df57d2d7d
SCons: Fix silence_msvc regression 2024-04-13 08:58:29 -05:00
A Thousand Ships
d8cd7b2f9f
[Doc] Fix incorrect reference to input_pickable 2024-04-13 15:44:14 +02:00
thimenesup
1ab5a47347 Fix incorrect bounds check in rendering device push constant 2024-04-13 14:53:19 +02:00
Aaron Franke
6dd4a68797
Reorganize some code to have 2D things grouped together 2024-04-13 02:56:50 -07:00
Rémi Verschelde
2886511c18
Merge pull request #90613 from akien-mga/tests-navigation-race-condition
Tests: Remove NavigationRegion3D race condition that fails on CI
2024-04-13 11:30:57 +02:00
Rémi Verschelde
085601510b
Merge pull request #90606 from m4gr3d/fix_export_option_overrides_load_on_startup
Fix the logic to load export preset's options overrides
2024-04-13 11:30:54 +02:00
Rémi Verschelde
133d036741
Merge pull request #90603 from m4gr3d/fix_keystore_path_resolution
Fix issue with resolving the path for the Android keystore file
2024-04-13 11:30:51 +02:00
Rémi Verschelde
3a57f10dd5
Merge pull request #90602 from smix8/bsfmod
Use fmod for navigation mesh border size warning
2024-04-13 11:30:47 +02:00
Rémi Verschelde
a66bc023dd
Merge pull request #90598 from berarma/scene_tree_clean_up
Remove some unused SceneTree properties
2024-04-13 11:30:44 +02:00
Rémi Verschelde
4bce45b746
Merge pull request #90588 from ajreckof/Fix-infinite-while-loop-on-empty-added-file
Fix infinite while loop on empty added file.
2024-04-13 11:30:41 +02:00
Rémi Verschelde
dae51097c5
Merge pull request #90583 from groud/fix_heap-use-after-free_error
Fix heap-use-after-free error in TileMapLayerEditor
2024-04-13 11:30:38 +02:00
Rémi Verschelde
c9a595afb5
Merge pull request #90580 from vnen/gdscript-allow-enum-to-int-cast
GDScript: Allow casting enum to int
2024-04-13 11:30:34 +02:00
Rémi Verschelde
8e1b50045a
Merge pull request #90554 from bqqbarbhg/fbx-color-fixes
FBX: Fix material colors
2024-04-13 11:30:31 +02:00
Rémi Verschelde
6d5981aad7
Merge pull request #90538 from migueldeicaza/order
Fix the initialization order for the iOS driver
2024-04-13 11:30:27 +02:00
Rémi Verschelde
c88993411d
Merge pull request #90536 from Rindbee/make-the-inherited-scene-root-node-unable-to-change-type
Make the inherited scene root node unable to change type
2024-04-13 11:30:25 +02:00
Rémi Verschelde
665a98b5f2
Merge pull request #90525 from KoBeWi/color_limbo
Fix folder colors not saving after project.godot is modifed externally
2024-04-13 11:30:21 +02:00
Rémi Verschelde
2a0fcc4c7b
Merge pull request #88926 from samsface/fix_animation_player_error_dialog
Fix animation player error dialog focus
2024-04-13 11:30:18 +02:00
Rémi Verschelde
e5c4ce60de
Merge pull request #78232 from akien-mga/scons-debug-ffile-prefix-map
SCons: Add `-ffile-prefix-map` GCC/Clang option to make debug file paths relative
2024-04-13 11:30:12 +02:00
Rémi Verschelde
d5fd611591
Merge pull request #75787 from Calinou/advanced-import-settings-tweak-environment
Tweak environment in the Advanced Import Settings dialog
2024-04-13 11:30:06 +02:00
Miguel de Icaza
3ea7dec7d3
Fix the initialization order for the iOS driver
The problem is that we were initializating the main loop (SceneTree)
when we were supposed to just set it.  Which would cascade into a
series of issues, including having the EditorNode being flagged as
"inside_tree" and having a tree, before it was supposed to.

This meant that some code would assume it was fully initialized, when
it was not.   And this manifested as the project not being scanned for
resources, which meant that during the importing, the resources would
not match using the uid path, and produce lots of errors.

One line fix
2024-04-13 11:18:53 +02:00
风青山
29ef52c8ac
Update undo redo allowed after switching scene tab
It has different status in different tabs.
2024-04-13 16:53:51 +08:00
Rémi Verschelde
66cf38ec7c
Tests: Remove NavigationRegion3D race condition that fails on CI
As the comment pointed it out, it's a race condition, and evidently no,
"it's [not] fine" ;)
2024-04-13 10:22:44 +02:00
Fredia Huya-Kouadio
a8c9b59f3f Automatically generate the Android debug keystore
Automatically generate the Android debug keystore when the Java SDK path is specified.
2024-04-12 23:53:28 -07:00
Raul Santos
db763ae16e
Enable EditorPlugin added by modules and GDExtensions 2024-04-13 06:03:59 +02:00
Fredia Huya-Kouadio
26e01e41dc Fix the logic to load export preset's options overrides
Update the logic to load export preset's options overrides when an editor export plugin is added.
2024-04-12 19:08:59 -07:00
smix8
8a0f1f1995 Use fmod for navigation mesh border size warning
Uses fmod for checking that navigation mesh border size matches the cell size as a multiple of cell size is also valid.
2024-04-13 03:39:53 +02:00
bqqbarbhg
659597b290 Enable FBX albedo factor when textures are bound 2024-04-13 03:12:03 +03:00
Fredia Huya-Kouadio
6fd5238955 Fix issue with resolving the path for the Android keystore file
The previous logic passed the path to the Android keystore as-is to an external tool. This causes the tool to fail if the path is Godot-specific (e.g: 'res://<path_to_keystore>'
2024-04-12 17:00:09 -07:00
ajreckof
ca020ad8cd Fix load subtask not being registered leading to false progress values. 2024-04-13 01:42:29 +02:00
Bernat Arlandis
0a68876348 Remove some unused SceneTree properties 2024-04-13 00:56:01 +02:00
sam
943aeb4573 fix animation error player error focus 2024-04-12 22:36:30 +01:00
Silc Lizard (Tokage) Renew
78a5ef4158 replace bone_pose_updated to skeleton_updated signal 2024-04-13 05:48:42 +09:00
ajreckof
d3d4b2e25e Fix infinite while loop on empty added file. 2024-04-12 19:38:37 +02:00
clayjohn
2f83b400a8 Warn users when assigning VERTEX directly to POSITION due to compatibility breakage from reverse z changes 2024-04-12 10:38:35 -07:00
bruvzg
88b3e68f93
[FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
Gilles Roudière
bb6a1cb5a8 Fix heap-use-after-free error in TileMapLayerEditor 2024-04-12 17:56:28 +02:00
Rémi Verschelde
029aadef56
Merge pull request #90579 from shana/vs-fix-line-endings
Visual Studio: Fix indentation in sln file, VS is VERY PICKY
2024-04-12 16:59:10 +02:00
George Marques
030995c10d
GDScript: Allow casting enum to int
An enum value is always an integer so the cast is valid. The code here
now consider this case to avoid giving an error message.
2024-04-12 11:49:21 -03:00
Andreia Gaita
7336ec1f7e Visual Studio: Fix indentation in sln file, VS is VERY PICKY 2024-04-12 16:04:35 +02:00
kobewi
a064ca16a8 Fix folder colors not saving after project.godot is modifed externally 2024-04-12 13:22:46 +02:00
Haoyu Qiu
66a3a944e2 Fix error when loading SVG imported as Image 2024-04-12 18:01:58 +08:00
Rémi Verschelde
30e71782af
Merge pull request #90559 from Rindbee/fix-crash-when-drag-scene-file-to-screen
Fix crash when dragging scene files to 2D/3D screen
2024-04-12 11:17:05 +02:00
Rémi Verschelde
cabb3ca4ef
Merge pull request #90551 from Repiteo/scons/silence-msvc-for-real
SCons: Silence MSVC output bloat without hiding errors
2024-04-12 11:17:02 +02:00
Rémi Verschelde
91aca6eb93
Merge pull request #90546 from melquiadess/add-urls-and-standardize-descriptions
Android: Standardize permission descriptions, add urls, remove deprecated tag from non-deprecated permission
2024-04-12 11:16:59 +02:00