Commit Graph

77006 Commits

Author SHA1 Message Date
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
Yuri Rubinsky faf62ba0cc Add DEPTH to the visual shader output (for spatial mode) 2023-02-21 20:19:37 +03:00
George Marques d076c76551 GDScript: Fix setting native type with script inheritance
Sometimes the inheritance tree is compiled out of order and the base
don't have yet a native type set. This is now changed to not rely on the
base script but use the native type set in the datatype, which is
already resolved by the analyzer.
2023-02-21 14:09:10 -03:00
Hugo Locurcio 0f73ef1df9 Use 8×8 default grid size for TextureRegion and 2D polygon editors
Power-of-two grid sizes are more suited to most game assets.
2023-02-21 17:02:24 +01:00
bitsawer c56058fe9a Fix FileAccess last open error flag update 2023-02-21 17:02:21 +02: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
bruvzg 921f3b7589 Automatically reparent editor message dialogs to avoid error spam. 2023-02-21 12:32:11 +02: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
Hakim 52de40310a Use physical shortcuts for freelook navigation in the editor 2023-02-21 10:56:14 +01: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
bruvzg 7f24433e15 [TextServer] Ensure ICU data is initialised only one and cleaned only at exit. 2023-02-21 09:43:54 +02: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
mashumafi b39b4010bd Fix: Get constructor as Callable 2023-02-20 22:05:54 -05: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
Pedro J. Estébanez b862fc8c9b Fix cases of resource load tasks not being awaitable 2023-02-20 21:20:05 +01:00
Pedro J. Estébanez 618bb173ba Fix race condition in resource loader when a load task is reused 2023-02-20 21:20:05 +01: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
Pedro J. Estébanez daa29d1007 Implement ConditionVariable 2023-02-20 20:43:31 +01:00
kobewi 55b50703d7 Prevent off-screen controls in editor 2023-02-20 20:25:39 +01:00
kobewi 97bd6c0539 Don't save scripts when exiting editor 2023-02-20 19:29:20 +01: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