Commit graph

52410 commits

Author SHA1 Message Date
Dmitrii Maganov
2a08739f30 GDScript: Fix error message for unfound type 2023-02-21 23:00:29 +02:00
Rémi Verschelde
253396ba39
Merge pull request #73693 from vnen/gdscript-fix-script-signature-check
GDScript: Fix override signature check of script inheritance
2023-02-21 21:19:39 +01:00
Rémi Verschelde
31726fa945
Merge pull request #73680 from vnen/gdscript-div-by-zero-crash-fix
GDScript: Avoid validated division operation to test for zero
2023-02-21 21:19:15 +01:00
Rémi Verschelde
88decd4391
Merge pull request #73679 from vnen/gdscript-autoload-ref-crash-fix
GDScript: Fix crash when autoload script can't be found
2023-02-21 21:18:51 +01:00
Rémi Verschelde
3e94fb984b
Merge pull request #73699 from Piralein/classref-🧹
update outdated classref references and examples
2023-02-21 21:16:31 +01:00
Rémi Verschelde
1fc28fe31f
Merge pull request #73698 from clayjohn/SS-bias
Increase SSAO and SSIL bias to account for variance in mipmap generation
2023-02-21 21:16:07 +01:00
Rémi Verschelde
ae21832823
Merge pull request #73622 from ChibiDenDen/patch-2
Fix use-after-free for VkAttachmentReference
2023-02-21 21:15:43 +01:00
Rémi Verschelde
5e57205365
Merge pull request #73478 from NewDefectus/master
Use the original canvas to calculate light positioning
2023-02-21 21:14:51 +01:00
Rémi Verschelde
547f8bc2dc
Merge pull request #72300 from Chaosus/shader_forbid_pass_mv_textures
Forbid passing multiview sampler to the custom function in shaders
2023-02-21 21:14:20 +01:00
Hana
f4b2231cd0 update outdated references and examples 2023-02-21 19:28:43 +01:00
clayjohn
db9dfb7233 Increase SSAO and SSIL bias to account for variance in mipmap generation 2023-02-21 10:25:33 -08:00
George Marques
1731010774
GDScript: Fix override signature check of script inheritance
Avoid treating the super class as a meta type for signature check, since
it is looking at the instance level for that.
2023-02-21 14:37:08 -03:00
George Marques
0866e6af2d
GDScript: Avoid validated division operation to test for zero
The validated operations for integer division and modulo do not check
for division by zero. This avoids validated operation in these cases to
make sure the check is performed and avoid crashing the engine.
2023-02-21 11:12:45 -03:00
George Marques
91b93465d5
GDScript: Fix crash when autoload script can't be found 2023-02-21 10:45:24 -03:00
Rémi Verschelde
7e79aead99
Merge pull request #73672 from aaronfranke/time-doc
Fix incorrect Time documentation in get_datetime_dict_from_unix_time
2023-02-21 12:54:47 +01:00
Rémi Verschelde
662d0b188d
Merge pull request #73671 from bruvzg/linux_tts_lock
[Linux] Process TTS callback on the main thread to avoid speech-dispatcher deadlock.
2023-02-21 11:14:52 +01:00
Rémi Verschelde
17121da914
Merge pull request #73649 from aaronfranke/time-to-test-int
Explicitly cast to Variant's int type in Time tests
2023-02-21 11:14:44 +01:00
Rémi Verschelde
6acc7f03ed
Merge pull request #73595 from KoBeWi/missingno
Fix missing directories when exporting from cmd
2023-02-21 11:14:34 +01:00
Alon Ran
2d7db30f0d Use the original canvas to calculate light positioning 2023-02-21 11:57:16 +02:00
Aaron Franke
5ebc0541d2
Fix incorrect Time documentation in get_datetime_dict_from_unix_time 2023-02-21 02:55:44 -06:00
bruvzg
6e76a7fbd8
[Linux] Process TTS callback on the main thread to avoid speech-dispatcher deadlock. 2023-02-21 10:45:49 +02:00
Yuri Rubinsky
94831c7209 Forbid passing multiview sampler to the custom function in shaders 2023-02-21 11:23:17 +03:00
Rémi Verschelde
6cde3fac32
Merge pull request #73666 from bruvzg/mac_warp
[macOS] Fix Input.warp_mouse shifted by one screen pixel.
2023-02-21 08:48:42 +01:00
Rémi Verschelde
fe08570ac5
Merge pull request #73667 from aaronfranke/gltf-unused-joint-bool
Remove unused joint boolean in GLTFNode
2023-02-21 08:47:15 +01:00
Rémi Verschelde
812b1a4088
Merge pull request #73664 from bruvzg/fix_sc_reset
[Editor] Fix shortcut reset.
2023-02-21 08:46:55 +01:00
Rémi Verschelde
052d8d804e
Merge pull request #73652 from KoBeWi/master_degree_in_maths
Clarify rotation degrees
2023-02-21 08:22:45 +01:00
Rémi Verschelde
f03784d8f7
Merge pull request #73654 from V-Sekai/fbx_base_dir
fbx: Set base_dir correctly in append_from_scene
2023-02-21 08:20:31 +01:00
Aaron Franke
84658b47ca
Remove unused joint boolean in GLTFNode 2023-02-21 00:48:02 -06:00
bruvzg
6f418a3441
[macOS] Fix Input.warp_mouse shifted by one screen pixel. 2023-02-21 08:30:28 +02:00
Rémi Verschelde
8af679da82
Merge pull request #73661 from mashumafi/external-class-ref
Add test for const class references
2023-02-21 07:29:14 +01:00
Rémi Verschelde
d68cfb43ef
Merge pull request #73662 from BastiaanOlij/fix_opengl_wobbly_sky
Fix wobbly sky in stereoscopic OpenGL
2023-02-21 07:16:21 +01:00
Rémi Verschelde
c71fea4467
Merge pull request #73659 from BastiaanOlij/fix_opengl_clearscreen
Fix issue with clearing screen after part has been drawn
2023-02-21 07:16:00 +01:00
bruvzg
64ba999eb1
Fix shortcut reset. 2023-02-21 08:08:53 +02:00
Bastiaan Olij
2852c9c319 Fix wobbly sky in stereoscopic OpenGL 2023-02-21 16:11:57 +11:00
mashumafi
8eb837dc3d Add test for const class references 2023-02-20 23:01:32 -05:00
Bastiaan Olij
67cb660532 Fix issue with clearing screen after part has been drawn 2023-02-21 14:18:23 +11:00
Lyuma
1c090d37b4 fbx: Set base_dir correctly in append_from_scene 2023-02-20 16:32:27 -08:00
kobewi
d76356c4d5 Clarify rotation degrees 2023-02-20 23:26:02 +01:00
Rémi Verschelde
62d4d8bfc6
Merge pull request #73634 from KoBeWi/merged_into_error
Fix tile atlas merging crash
2023-02-20 22:46:31 +01:00
Rémi Verschelde
0851debf45
Merge pull request #73639 from vnen/gdscript-limit-completion-recursion-depth
GDScript: Limit recursion depth for completion functions
2023-02-20 22:36:07 +01:00
Rémi Verschelde
e693a3debb
Merge pull request #73422 from bruvzg/no_alt
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:31:11 +01:00
Aaron Franke
c551d7489c
Explicitly cast to Variant's int type in Time tests 2023-02-20 14:46:21 -06:00
bruvzg
b3c64675cc
[macOS] Replace all Alt/Option+Letter/Number default shortcuts to avoid conflicts with special character input. 2023-02-20 22:02:47 +02:00
George Marques
c9e49c487d
GDScript: Limit recursion depth for completion functions
Avoid crashing if the completion gets stuck in infinite recursion while
trying to guess the expression type.
2023-02-20 14:55:13 -03:00
kobewi
56251cf08c Fix tile atlas merging crash 2023-02-20 18:22:44 +01:00
kobewi
ff42cb0d1e Fix missing directories when exporting from cmd 2023-02-20 17:39:38 +01:00
Rémi Verschelde
9c960a8c24
Merge pull request #73628 from lawnjelly/bvh_mutex_fix
BVH - fix lockguards for multithread mode
2023-02-20 17:34:38 +01:00
lawnjelly
f42a837e92 BVH - fix lockguards for multithread mode
Due to a lack of variable name, the BVH lock guards lifetimes previously did not cover the whole function call.

This is fixed, and the warning message for contention is removed as multithread mode seems to be desired in production in 4.x.
2023-02-20 15:15:18 +00:00
Rémi Verschelde
dfdda96294
Merge pull request #73626 from Faless/mp/4.x_synced_signal
[MP] Add a "synchronized" signal to MultiplayerSynchronized.
2023-02-20 15:41:55 +01:00
Rémi Verschelde
2bb3c8f205
Merge pull request #73621 from ChibiDenDen/patch-1
Fix bufSize parameter for glGetSynciv
2023-02-20 15:41:52 +01:00