Commit graph

59742 commits

Author SHA1 Message Date
Thaddeus Crews
a0db88335a
Implement function to throw on null pointers
• Specifically: checks if ptr == IntPtr.Zero
2023-12-17 08:52:20 -06:00
Michael Wörner
21d778b0c3 Changed HTML input color_changed logic.
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.
2023-12-17 15:36:57 +01:00
Jovan Gerodetti
179c92eb0b Include name field in MethodInfo operator == 2023-12-17 12:42:14 +01:00
Fabio Alessandrelli
4826c14d20 [MP] Fix complete_auth notifying the wrong peer
The SceneMultiplayer complete_auth method was not configuring the
multiplayer peer correctly, causing it to potentially send the
notification to the wrong peer, on the wrong channel, and/or with an
incorrect transfer mode.
2023-12-17 12:27:24 +01:00
BlueCube3310
e87fadfad0 Mention etcpak changes in thirdparty/README.md 2023-12-17 10:05:16 +01:00
Sofox
f894eb1768 Fixes Node selection when navigating SceneTree with Arrow keys 2023-12-16 19:53:04 +00:00
Mika Viskari
5b9e67e0a5 Add property change guards to Sprite2D and AnimatedSprite2D 2023-12-16 20:25:35 +02:00
Yuri Sizov
2d0ee20ff3 Merge pull request #86219 from clayjohn/RD-samplers-hotfix
Reduce the number of samplers used by the scene shaders
2023-12-16 17:50:10 +01:00
Yuri Sizov
30e77a6321 Merge pull request #86209 from YuriSizov/main-fix-editor-only-module-classes
Correctly register editor-only module classes with the API
2023-12-16 17:50:07 +01:00
Yuri Sizov
df9be54b2f Merge pull request #86177 from KoBeWi/depren_never_forgets
Fix file disappearing when renaming dependencies
2023-12-16 17:50:05 +01:00
Yuri Sizov
9c425c592f Merge pull request #86161 from ZeferinoI/patch-1
Update the description of the method get_connection_list in GraphEdit
2023-12-16 17:50:01 +01:00
Yuri Sizov
e63f1d4494 Merge pull request #86137 from Maran23/editor-error-metadata
Do not print error when editor meta was not found as it will be reimported anyway after
2023-12-16 17:49:58 +01:00
Yuri Sizov
4e29b16166 Merge pull request #85967 from BlueCube3310/squish-ra-as-rg-fix
Fix `squish` DXT5 RA-As-RG channel swapping
2023-12-16 17:49:54 +01:00
Yuri Sizov
671f59f9be Merge pull request #85842 from BlueCube3310/rgtc-compression
Improve normal map VRAM Compression with RGTC
2023-12-16 17:49:51 +01:00
Yuri Sizov
f4b32b228a Merge pull request #85603 from eldidou/speed-up-get-must-clear-dependencies
Speed up `GDScript::get_must_clear_dependencies()`
2023-12-16 17:49:47 +01:00
Yuri Sizov
3fef8910c7 Merge pull request #85575 from TokageItLab/Make-unstore-library
Make unstore AnimationLibrary if AnimationTree is assigned AnimationPlayer
2023-12-16 17:49:43 +01:00
Yuri Sizov
1e86ce0b40 Merge pull request #85317 from miv391/fix-breaking-frame-index-in-sprites
Fix invalid `frame` index when Sprite2D's `hframes` or `vframes` has been changed
2023-12-16 17:49:38 +01:00
Yuri Sizov
abe19496ac Merge pull request #85163 from BastiaanOlij/openxr_play_area
OpenXR: Add support for retrieving play area
2023-12-16 17:49:34 +01:00
Yuri Sizov
486e3a82e8 Merge pull request #84583 from timothyqiu/path-to-ap
Make AnimationTree reference AnimationPlayer instead of AnimationMixer
2023-12-16 17:49:30 +01:00
Yuri Sizov
ef94545658 Merge pull request #84169 from BastiaanOlij/vulkan_mobile_merge_passes
Merge passes in Vulkan mobile renderer
2023-12-16 17:49:27 +01:00
Yuri Sizov
9cbe3cb451 Merge pull request #83533 from SaracenOne/bezier_edit_mode_fix
Fix setting bezier track handle mode from inspector
2023-12-16 17:49:24 +01:00
Yuri Sizov
4b258ccdd3 Merge pull request #82884 from KoBeWi/commit_message_cached,_please_refresh
Clarify some descriptions regarding resource cache
2023-12-16 17:49:20 +01:00
Yuri Sizov
f119da59d1 Merge pull request #81809 from Rindbee/clean-up-maps-in-Area
Clear monitoring in `Area*` when its space changes to invalid
2023-12-16 17:49:17 +01:00
Yuri Sizov
86a411500f Merge pull request #79362 from bruvzg/web_ime
[Web] Add IME input support
2023-12-16 17:49:13 +01:00
Yuri Sizov
d02b368fd6 Merge pull request #78095 from aaronfranke/dict-get-or-set-default
Add a `get_or_add` method to Dictionary
2023-12-16 17:49:10 +01:00
Yuri Sizov
ca19d34bde Merge pull request #73896 from vnen/object-null-boolean-consistency
Make freed object different than null in comparison operators
2023-12-16 17:49:05 +01:00
Yuri Sizov
e7a1eae4e6 Merge pull request #70770 from vnen/scons-clone-env-vars
Add option in SCons to clone env variables
2023-12-16 17:49:00 +01:00
clayjohn
a5399ab5af Reduce the number of samplers used by the scene shaders
The hard limit for Apple devices is 16 samplers per stage. So we need to ensure we use less than that
2023-12-15 17:13:44 -07:00
Bastiaan Olij
22cd145177 Merge passes in Vulkan mobile renderer 2023-12-16 09:51:35 +11:00
风青山
ea30aabfb1 Clear monitoring in Area* when its space changes to invalid
So that it can work properly when the space changes to valid again.

Change `space` in advance to prevent disabled areas from being queried again.
2023-12-15 20:54:54 +01:00
Mika Viskari
484c5b5aff Fix invalid frame index when Sprite2D's hframes or vframes has been changed 2023-12-15 20:32:18 +02:00
Yuri Sizov
0f8c955c1a Correctly register editor-only module classes with the API 2023-12-15 18:58:30 +01:00
bruvzg
f9486a2d88
[Web] Add IME input support. 2023-12-15 19:11:10 +02:00
Haoyu Qiu
7946e84187 Make AnimationTree reference AnimationPlayer instead of AnimationMixer 2023-12-16 00:40:44 +08:00
George Marques
ed52ac9b5d
Add option in SCons to copy environment variables
This allows custom environment variables to be used during the build,
which is useful when using alternative compilation tools such as caches
and distributed build systems.
2023-12-15 10:59:26 -03:00
Pedro J. Estébanez
1a1c06dfeb RBMap: Add explicit copy operators to iterators
Absence thereof is deprecated and breaks builds on most compilers.

Bonus: Fix parameter naming style throughout.
2023-12-15 13:14:59 +01:00
Pedro J. Estébanez
fec76d0c22 BitField: allow chained set_flag(), make constructors constexpr 2023-12-15 13:14:59 +01:00
Saracen
09a4aa3ce8 Fix setting bezier track handle mode from inspector. 2023-12-14 23:11:47 +00:00
kobewi
397f0b31e4 Fix file disappearing when renaming dependencies 2023-12-14 22:28:48 +01:00
Yuri Sizov
f8a2a91936 Merge pull request #86171 from YuriSizov/editor-what-colors-what-sounds
Fix various issues with the folder color lookup
2023-12-14 21:22:46 +01:00
Yuri Sizov
c3579769d8 Merge pull request #86164 from KoBeWi/stop_select_faking
Properly select the newly duplicated file
2023-12-14 21:22:42 +01:00
Yuri Sizov
a5529f759c Merge pull request #86129 from TheSofox/color-picker-memory
Remember last `color_mode` and `picker_shape` in `ColorPicker`s in the editor
2023-12-14 21:22:39 +01:00
Yuri Sizov
302e41c264 Merge pull request #82561 from ershn/fix_navigation_agents_is_target_reached_behavior
Make `target_desired_distance` affect the navigation of `NavigationAgent2D/3D`
2023-12-14 21:22:35 +01:00
Yuri Sizov
58e68590a3 Merge pull request #81220 from BlueCube3310/dds-formats-extended
Support loading more DDS formats
2023-12-14 21:22:29 +01:00
Yuri Sizov
efa8c46fab Fix various issues with the folder color lookup 2023-12-14 20:43:46 +01:00
Marius Hanl
4b8b0803eb Return false when no '.editor.ctex' file exists so that the file will be reimported after and no error is printed 2023-12-14 20:35:49 +01:00
Thaddeus Crews
83ef789745
Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable 2023-12-14 13:22:40 -06:00
Sofox
7979412c75 Remember last 'color_mode' and 'picker_shape' in 'ColorPicker's in the editor 2023-12-14 18:57:57 +00:00
kobewi
0ae1241304 Properly select the newly duplicated file 2023-12-14 19:49:11 +01:00
Yuri Sizov
a6c0c90058 Merge pull request #86066 from Wiltof/tilemapPaint
Reset TileMap editor `drag_type` when the toolbar mode is not selected
2023-12-14 17:38:57 +01:00