Commit graph

14851 commits

Author SHA1 Message Date
Lyuma
1ccf0c2947 Allow users to override SkeletonModifier3D._process_modification 2024-05-09 19:48:56 -07:00
Rémi Verschelde
03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Silc Lizard (Tokage) Renew
6fd8b25d38 Add argument options to AnimationPlayer for auto capture 2024-05-03 07:06:37 +09:00
Rémi Verschelde
4e9543d849
Merge pull request #91457 from kitbdev/fix-multicaret-disabled
Fix TextEdit crash with multiple carets disabled and paste
2024-05-02 17:31:47 +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
kit
0162683da4 Fix TextEdit crash with multiple carets disabled 2024-05-02 09:26:08 -04: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
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
Silc Lizard (Tokage) Renew
36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +09: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
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
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
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
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
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
Markus Sauermann
792b38813f Remove unused variable Viewport::gui.last_mouse_focus
The last use was removed in January 2023
2024-05-01 11:20:40 +02:00
Rémi Verschelde
5a63d1db41
Merge pull request #91223 from Arnklit/particle-cylinder-emission-distribution-fix
Fix particle cylinder emission shape random distribution
2024-05-01 09:55:06 +02:00
Rémi Verschelde
f89de7ab43
Merge pull request #90960 from TokageItLab/fix-animation-playback-track-seek
Make seeking animation playback track consider internal seeking
2024-05-01 09:55:00 +02:00
Rémi Verschelde
de00cfbc01
Merge pull request #90892 from Chaosus/vs_fix_expression_port_expand
Prevent expanding output port in visual shader expression
2024-05-01 09:54:57 +02:00
Rémi Verschelde
70247adf25
Merge pull request #89734 from BastiaanOlij/openxr_reorder_wait_frame
OpenXR: Change timing of xrWaitFrame and fix XR multithreading issues
2024-05-01 09:54:51 +02:00
Rémi Verschelde
85062e37ef
Merge pull request #89588 from bruvzg/status_ind_menu_direct
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly.
2024-05-01 09:54:44 +02:00
Rémi Verschelde
e950d7ad36
Merge pull request #85609 from QbieShay/qbe/premul-builtin
Add premult alpha blending to 3D (spatial) shaders
2024-05-01 09:54:41 +02:00
Rémi Verschelde
3cb9e84cde
Merge pull request #85189 from QbieShay/qbe/fix-emission-at-end
Correctly emit sub-emitter's emission at the end
2024-05-01 09:54:38 +02:00
Bastiaan Olij
cbab7dc049 OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR 2024-05-01 14:24:41 +10:00
QbieShay
41a2b0e83e Added premult alpha blending to 3D (spatial) shaders.
Co-authored-by: jitspoe <jitspoe@yahoo.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-05-01 00:53:29 +02:00
Silc Lizard (Tokage) Renew
b346e2a722 Make seeking animation playback track consider internal seeking 2024-05-01 06:39:17 +09:00
Kasper Arnklit Frandsen
af22d504da Fix particle cylinder emission shape random distribution 2024-04-30 17:24:58 +01:00
Rémi Verschelde
ec73f5631c
Merge pull request #91335 from devloglogan/xr-hand-modifier-update
Store previous relative transforms in `XRHandModifier3D`
2024-04-30 17:03:53 +02:00
Rémi Verschelde
ca38212604
Merge pull request #89643 from mnemoli/pickone-fix-89641
Fix mouse events when `physics_object_picking_first_only` enabled
2024-04-30 17:03:10 +02:00
Rémi Verschelde
e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
devloglogan
a35196ba22 Store previous relative transforms in XRHandModifier3D 2024-04-30 08:59:40 -05:00
Rémi Verschelde
5bd9f4dea5
Don't run Shader doc comments logic outside the editor
Fixes #91306.
2024-04-29 14:54:35 +02:00
Rémi Verschelde
77caf02802
Merge pull request #89705 from bruvzg/rtl_draw_steps
[RTL] Move shadow and foreground/background boxes drawing into a separate draw steps.
2024-04-29 13:00:22 +02:00
Rémi Verschelde
c1f8d24f18
Merge pull request #91275 from ajreckof/Fix-RichTextLabel-Scroll-Following-randomly-stops-working
Fix RichTextLabel "Scroll Following" randomly stops working.
2024-04-29 10:10:38 +02:00
Rémi Verschelde
164f28e066
Merge pull request #91242 from TokageItLab/player-activating
Make activating on ready in AnimationPlayer respect the property value
2024-04-29 10:10:28 +02:00
Rémi Verschelde
7cd6ea0f7e
Merge pull request #91183 from KoBeWi/small_stuff
Misc code cleanup
2024-04-29 10:09:57 +02:00
Rémi Verschelde
ba27c0c31c
Merge pull request #91177 from markusstephanides/master
Add no-change check to `Label3D::set_text`
2024-04-29 10:09:49 +02:00
Rémi Verschelde
9286ac7aa5
Merge pull request #90161 from magian1127/4.0sTip
Implement tooltips for shader uniform in the inspector.
2024-04-29 10:09:35 +02:00
ajreckof
7faafb1448 Fix RichTextLabel "Scroll Following" randomly stops working. 2024-04-28 12:15:14 +02:00
Silc Lizard (Tokage) Renew
470c2f24e9 Make activating on ready in AnimationPlayer respect the property value 2024-04-27 13:06:10 +09:00
kit
773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit
154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
kobewi
914528180f Misc code cleanup 2024-04-26 15:30:21 +02:00
Rémi Verschelde
1c584ec9e0
Merge pull request #91190 from kitbdev/dont-scroll-if-fit
Don't use vscroll when fit to content height in TextEdit
2024-04-26 15:13:40 +02:00
Rémi Verschelde
bd598d5657
Merge pull request #85678 from KoBeWi/editor_walktime
Add separate feature tags for editor runtime
2024-04-26 15:13:16 +02:00
kobewi
3ebb5b84a0 Add separate feature tags for editor runtime 2024-04-26 14:44:38 +02:00