Commit graph

63679 commits

Author SHA1 Message Date
Rémi Verschelde a7029e4c8a
Merge pull request #91364 from vnen/gdscript-implicit-ready-base-first
GDScript: Call implicit ready on base script first
2024-05-02 17:31:32 +02:00
Rémi Verschelde 7a968c619d
Merge pull request #91140 from RadiantUwU/add-mobile-vr-screen-rect
Add a new property named `offset_rect` to `MobileVRInterface`
2024-05-02 17:31:28 +02:00
Rémi Verschelde 8f2ff22bf5
Merge pull request #90742 from KoBeWi/PR_from_the_future
Change update checker version source
2024-05-02 17:31:25 +02:00
Rémi Verschelde e249df4f5e
Merge pull request #89275 from bruvzg/status_rect
[StatusIndicator] Add method to get indicator icon screen rect.
2024-05-02 17:31:18 +02:00
George Marques 99b702ea3d
GDScript: Call implicit ready on base script first
It is generally expected that the base class is called before the
inherited clas. This commit implements this behavior for the implicit
ready function (`@onready` annotation) to make it consistent with the
expectations.
2024-05-02 11:25:52 -03:00
kobewi 6e9dc0ee27 Change update checker version source 2024-05-02 15:32:24 +02:00
Radiant 9be2f7090a Implement offset_rect property to MobileVRInterface to allow changing screen area. 2024-05-02 16:25:48 +03:00
Rémi Verschelde 06d105e268
Merge pull request #91437 from TokageItLab/auto-capture
Add `auto_capture` option to AnimationPlayer
2024-05-02 14:01:25 +02:00
Rémi Verschelde 6ad0a1ffef
Merge pull request #91098 from bruvzg/rtl_fast_delete
[RTL] Add extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation.
2024-05-02 14:01:21 +02:00
Rémi Verschelde 28a18cf1b8
Merge pull request #88763 from BlueCube3310/image-is-compressed-static
Image: Add static `is_format_compressed` function.
2024-05-02 14:01:18 +02:00
Rémi Verschelde 396ce1a8c8
Merge pull request #80223 from AThousandShips/vec_elem
Expose `Vector*` component-wise and scalar `min/max` to scripting
2024-05-02 14:01:09 +02:00
bruvzg e5205e589f
[StatusIndicator] Add method to get indicator icon screen rect. 2024-05-02 14:39:33 +03:00
bruvzg 360d365b33
[RTL] Adds extra argument to remove_paragraph to skip cache invalidation and a method for manual cache invalidation. 2024-05-02 14:03:21 +03:00
A Thousand Ships 0f5e0d1637
Expose Vector* component-wise and scalar min/max to scripting 2024-05-02 13:02:40 +02:00
Silc Lizard (Tokage) Renew 36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +09:00
Rémi Verschelde a0b0b19043
Merge pull request #91446 from HexagonNico/rect-doc-fix
Fix incorrect example in the documentation for the `expand` method in `Rect2`
2024-05-02 12:46:49 +02:00
Rémi Verschelde b2af040423
Merge pull request #91425 from Sauermann/fix-force-drag-focus-crash
Make `mouse_focus` and `mouse_focus_mask` consistent for force_drag
2024-05-02 12:46:45 +02:00
Rémi Verschelde 4eaafc8fa8
Merge pull request #91375 from paulloz/dotnet/prevent-generator-crash-on-exported-unconstructed-generic-arrays
C#: Fix generator crash w/ generic arrays
2024-05-02 12:46:42 +02:00
Rémi Verschelde 098a4e945e
Merge pull request #91188 from YeldhamDev/love_fixing_other_peoples_regressions
Fix `TabContainer` regressions related to switching tabs in certain cases
2024-05-02 12:46:39 +02:00
Rémi Verschelde a6a7325e3a
Merge pull request #91127 from CrayolaEater/hinge-joint-cleanup
Deprecate unused parameter `angular_limit/softness` in `HingeJoint3D`
2024-05-02 12:46:36 +02:00
Rémi Verschelde 9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +02:00
Rémi Verschelde 928441052b
Merge pull request #90608 from raulsntos/editor/enable-plugin-after-adding
Enable `EditorPlugin` added by modules and GDExtensions
2024-05-02 12:46:29 +02:00
Rémi Verschelde 9122286553
Merge pull request #89426 from BlueCube3310/basisu-mult-of-4
BasisUniversal: Fix artifacts on images with resolutions not divisible by 4
2024-05-02 12:46:25 +02:00
Rémi Verschelde 0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
Rémi Verschelde a21824b293
Merge pull request #85295 from jsjtxietian/use-mutex-protect-max_index-in-ImportThreadData
Use `SafeNumeric` to protect `max_index` in ImportThreadData
2024-05-02 12:46:19 +02:00
Rémi Verschelde bbb86672fe
Merge pull request #84472 from xiongyaohua/canvas_item_draw_circle_non_filled
Extend `CanvasItem::draw_circle()`, making it also draw unfilled circle.
2024-05-02 12:46:14 +02:00
Rémi Verschelde 3dca3342bf
Merge pull request #81533 from BastiaanOlij/openxr_hand_interaction
Add support for OpenXR hand interaction extension
2024-05-02 12:46:07 +02:00
BlueCube3310 c71490043a Fix BasisU compression on images with resolutions not divisible by 4. 2024-05-02 12:15:02 +02:00
Nico 0854476ef1 Fix incorrect example in the documentation for the expand method in Rect2 2024-05-02 12:06:22 +02:00
Rémi Verschelde 02deedc02b
Merge pull request #91426 from semensanyok/fix-gles3-shader-e41064388e67cc9bec320ee467757089b150bf20
Fix typo in shader breaking gles3
2024-05-02 11:15:33 +02:00
Bastiaan Olij 527c30c594 Add support for OpenXR hand interaction extension 2024-05-02 19:15:02 +10:00
Bogdan Inculet 24bdd0b9c1
Deprecate unused paramater angular_limit/softness in HingeJoint3D 2024-05-02 10:50:58 +02:00
Yaohua Xiong 1f2aa17d14
Extend CanvasItem::draw_circle() with filled, width, and antialiased options
Make it possible to draw unfilled circle, like draw_rect(). Antialising is only implemented for unfilled version.
2024-05-02 10:42:24 +02:00
A Thousand Ships 308dbb8c63
[Core] Add scalar versions of Vector* min/max/clamp/snap(ped)
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
semensanyok e378083fa5 fix typo in e41064388e breaking gles3 2024-05-02 00:32:39 +02:00
Markus Sauermann 30a19a5c2f Make mouse_focus and mouse_focus_mask consistent for force_drag
In `Viewport::_gui_force_drag` currently `Viewport::gui.mouse_focus`
gets cleared, but `Viewport::gui.mouse_focus_mask` doesn't get cleared.

This is an inconsistency which can cause a crash.

With the change of this PR, `mouse_focus_mask` also gets cleared.
This is in alignment with how regular drag and drop clears both variables.
2024-05-02 00:10:29 +02:00
DeeJayLSP b9cbf2c96f Add QOA (Quite OK Audio) as a WAV compression mode 2024-05-01 19:05:14 -03:00
Rémi Verschelde f91db3dc58
Merge pull request #91399 from QbieShay/qbe/fix-pmul-name
Revert premul alpha to spell without the T
2024-05-01 23:47:46 +02:00
QbieShay e41064388e reverted naming to premul alpha (no T)
Initially 3d had premulT alpha as a keyword.
Since Canvas item uses mixed premul and premult as keywords,
3D is changed as well to keep consistency with 2D.
Unfortunately this keeps inconsistency with the internal ENUM.
2024-05-01 22:24:49 +02:00
Rémi Verschelde 92e726d8dc
Merge pull request #91417 from Repiteo/buildsystem/speedup-static-check
CI: Speedup `pre-commit` static check
2024-05-01 20:32:40 +02:00
Rémi Verschelde aa79d17305
Merge pull request #91415 from aaronp64/packedscene_docs
Minor `PackedScene` documentation improvements
2024-05-01 20:32:37 +02:00
Rémi Verschelde 81bcfe62a6
Merge pull request #91414 from Lateasusual/shader-globals-not-initialized
Ensure global shader sampler parameters are initialized when loading
2024-05-01 20:32:34 +02:00
Rémi Verschelde 76afc9851e
Merge pull request #91407 from RedMser/doctool-verify-directory
Ensure `--doctool` is run from root directory
2024-05-01 20:32:31 +02:00
Rémi Verschelde bb1ca58275
Merge pull request #91400 from Sauermann/fix-unused-variable
Remove unused variable `Viewport::gui.last_mouse_focus`
2024-05-01 20:32:28 +02:00
Rémi Verschelde b297e97abf
Merge pull request #91396 from Daylily-Zeleen/daylily-zeleen/fix_disable_main_screen_plugin_crash
Fix crash when switching main screen from a disabled plugin main screen if code editor is floating.
2024-05-01 20:32:25 +02:00
Rémi Verschelde 7401ea3c55
Merge pull request #91393 from skyace65/LowProc
Remove text saying low processor mode only works on desktop
2024-05-01 20:32:22 +02:00
Rémi Verschelde 378b7c76f4
Merge pull request #91369 from adamscott/web-remote-debug
Add more Remote Debug options to the web platform
2024-05-01 20:32:19 +02:00
Rémi Verschelde c27d7a9ae9
Merge pull request #89648 from AThousandShips/read_only_check_2
[GDScript] Correctly report invalid read-only access
2024-05-01 20:32:14 +02:00
Adam Scott 51d2ebf2da
Add more Remote Debug options to the web platform 2024-05-01 14:11:05 -04:00
Chris Clyne 44364faee5 Ensure global shader sampler parameters are initialized when loading the editor 2024-05-01 18:12:46 +01:00