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
aaronp64
3337c160a4
Update LineEdit to include read_only StyleBox in get_minimum_size()
...
Fixes #90522
2024-04-29 14:43:16 -04:00
Koyper
e3efd51592
Add FlowContainer wrap options for center alignment.
2024-04-29 08:26:45 -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
kobewi
0b877a9962
Expose is_part_of_edited_scene()
2024-04-26 11:49:38 +02:00
Magian
e3a7c751f2
Implement tooltips for shader uniform in the inspector.
...
using regular expressions
2024-04-26 17:48:11 +08:00
Rémi Verschelde
86bf8354a0
Merge pull request #91198 from jsjtxietian/SurfaceTool
...
Fix `SurfaceTool.create_from_arrays` crash with bad index
2024-04-26 11:09:08 +02:00
Rémi Verschelde
f55b81be1e
Merge pull request #91193 from timothyqiu/tab-icon-size
...
Allow setting max icon width per tab for TabContainer
2024-04-26 11:09:05 +02:00
Rémi Verschelde
0a6335924a
Merge pull request #91031 from Malcolmnixon/old-body-tracker-signals
...
Subscribe to correct tracker signals
2024-04-26 11:08:35 +02:00
Rémi Verschelde
a37db390e0
Merge pull request #90229 from Santoss1809/master
...
Fix error message when removing only child from GraphNode
2024-04-26 11:08:25 +02:00
João Santos
eb9e193477
Fix error message when removing only child from GraphNode
...
Fixes #89695 .
2024-04-26 10:45:45 +02:00
Michael Alexsander
1c32fa2f40
Fix TabContainer
regressions related to switching tabs in certain cases
2024-04-26 03:07:21 -03:00
jsjtxietian
01135bc533
Fix SurfaceTool.create_from_arrays
crash with bad index
2024-04-26 11:44:15 +08:00
Haoyu Qiu
779426b2fa
Allow setting icon max width for TabContainer
2024-04-26 08:27:27 +08:00
kit
d9b0561601
Don't use vscroll when fit to content height in TextEdit
2024-04-25 19:19:08 -04:00
Markus Stephanides
c14b395c78
Add no-change check to Label3D
2024-04-25 22:13:20 +02:00
Koyper
4c5a904faf
[PopupMenu] Fix incorrect vertical scroll bar visible at fractional content scale
2024-04-25 09:33:36 -05:00
Rémi Verschelde
50a38cd1c2
Merge pull request #91137 from ckaiser/fix-minimap-lightmode
...
Use TextEdit caret color for minimap highlight (fix minimap regression)
2024-04-25 12:11:28 +02:00
Rémi Verschelde
ab2daa2923
Merge pull request #91095 from timothyqiu/min-tree
...
Fix Tree minimum size calculation
2024-04-25 12:11:23 +02:00
Rémi Verschelde
81aa139e0d
Merge pull request #91083 from nagidev/master
...
Fix port cache calculation in GraphNode
2024-04-25 12:11:20 +02:00
Rémi Verschelde
f819c77d27
Merge pull request #90915 from rburing/no_more_speedrun
...
Fix `move_and_slide` wall slide acceleration (3D)
2024-04-25 12:11:13 +02:00
Haoyu Qiu
4f4e8589df
Fix Tree minimum size calculation
...
- Take scroll bar space and column title buttons into account
- Fix first column min size sometimes missing one level of indent
- Fix cell min size ignoring text overrun behavior and item inner margin
- Update min size when `hide_root` or `column_title_visible` changes
Wrong description of `item_inner_margin_*` constants is also fixed
2024-04-25 16:00:45 +08:00
Christian Kaiser
91fff47fdc
Use TextEdit caret color for minimap highlight
2024-04-25 04:27:49 -03:00
nagidev
b0cafc1077
Fixed port cache calculation in GraphNode
2024-04-24 13:33:38 +05:30
Rémi Verschelde
6149359dac
Merge pull request #91076 from Bn-Fang/master
...
Fix typo in Camera2D node's anchor mode
2024-04-24 09:59:48 +02:00
Rémi Verschelde
17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
...
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde
6f21267a46
Merge pull request #85880 from Rudolph-B/GPU-particles-2D-spread-issue
...
Fixed particle spread values affecting particle velocity
2024-04-24 09:59:04 +02:00
johnsonbaugh
e2995d3b88
Reset state of SkeletonModification2D when loaded from cache
2024-04-23 21:29:59 -07:00
johnsonbaugh
ef8acbde9a
Fix errors and warnings when loading Skeleton2D Modifications
...
Fixes #73247
2024-04-23 20:42:23 -07:00
Bn-Fang
5d0a229a58
Fixed Typo in Camera 2D node's anchor mode
...
Fixed the Camera 2D node's anchor mode descriptor from "Fixed TopLeft" to "Fixed Top Left"
2024-04-23 16:24:45 -04:00
Rémi Verschelde
a3b9344a37
Merge pull request #91044 from timothyqiu/column-title
...
Fix wrong Tree column title position
2024-04-23 19:12:08 +02:00
Rémi Verschelde
d7abefd0a3
Merge pull request #91038 from timothyqiu/tab-container-toggle-icon-text
...
Fix TabContainer using wrong content rect after tab title update
2024-04-23 19:12:03 +02:00
Rémi Verschelde
ff9d78c141
Merge pull request #90889 from timothyqiu/compat
...
Use compatible text resource format when possible
2024-04-23 19:11:46 +02:00
Rémi Verschelde
2463e42ea1
Merge pull request #90786 from m4rr5/fix_flipped_line2d_joints
...
Fix `Line2D` joints with `joint_mode` set to Round rendered "flipped" for a 180 degree angle.
2024-04-23 19:11:22 +02:00
Haoyu Qiu
98d7d62350
Fix wrong Tree column title position
2024-04-23 15:46:19 +08:00
Mansur Isaev
b37ddfc606
Add tab tooltip text
2024-04-23 08:28:48 +04:00
Haoyu Qiu
941e5c4820
Use compatible text resource format when possible
2024-04-23 12:04:44 +08:00
Haoyu Qiu
91918e8cb7
Fix TabContainer not updating content rect after changing tab title
2024-04-23 09:48:59 +08:00
Malcolm Nixon
00f3dd0337
Subscribe to correct tracker signals
2024-04-22 18:40:18 -04:00
Rémi Verschelde
7abe0c6014
Merge pull request #90988 from TheSofox/scrolling-signal-fix
...
Enable `Scrolling` signal when scrolling with middle mouse on `RichTextLabel` or `ScrollContainer`
2024-04-22 22:38:04 +02:00
Rémi Verschelde
98cce21e78
Merge pull request #90921 from smix8/navmesh_bake_warn
...
Warn that navigation mesh baking from Meshes is bad for runtime performance
2024-04-22 22:18:30 +02:00
Sofox
30356a488f
Enabled 'Scrolling' signal when scrolling with middle mouse on RichTextLabel/ScrollContainer
2024-04-22 20:44:03 +01:00
Rémi Verschelde
7529c0bec5
Merge pull request #90994 from aaronp64/tileset_compressed_image
...
Handle compressed images in `TileSetAtlasSource::_create_padded_image_texture`
2024-04-22 12:53:51 +02:00
Rémi Verschelde
4e391ea81e
Merge pull request #90942 from timothyqiu/toggle-tab-icon
...
Fix TabContainer not redrawing after toggling tab icon
2024-04-22 12:53:39 +02:00
Rémi Verschelde
bfca90acb7
Merge pull request #90935 from smix8/navdata_append
...
Add NavigationMeshSourceGeometryData append functions
2024-04-22 12:53:32 +02:00
Rémi Verschelde
659cf339bc
Merge pull request #90931 from aaronfranke/is-ascii-alphabet-char
...
Rename internal `is_ascii_char` to `is_ascii_alphabet_char`
2024-04-22 12:53:28 +02:00
Rémi Verschelde
7599be9437
Merge pull request #90907 from KoBeWi/null_tile_exception
...
Don't store TileMapLayer data if empty
2024-04-22 12:53:21 +02:00
Rémi Verschelde
f0db317ea4
Merge pull request #90869 from KoBeWi/babe_wake_up,_new_color_space_just_dropped
...
Don't translate ColorPicker color labels
2024-04-22 12:53:17 +02:00
Rémi Verschelde
9498753cc4
Merge pull request #90839 from timothyqiu/tree-button
...
Fix TreeItem button handling
2024-04-22 12:53:09 +02:00
Rémi Verschelde
ab57e8d5a3
Merge pull request #90834 from lyuma/surfacetool_create_from_arrays
...
Expose `create_from_arrays` in SurfaceTool and cleanup some naming
2024-04-22 12:53:05 +02:00
Rémi Verschelde
bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
...
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde
f2ee46b3f3
Merge pull request #90518 from bruvzg/rtl_new_delete
...
[RTL] Rewrite `remove_paragraph` code.
2024-04-22 12:51:59 +02:00
Rémi Verschelde
79557e7d0b
Merge pull request #76725 from smix8/meshbake_blendshapemix_4.x
...
Add option to bake a mesh from blend shape mix
2024-04-22 12:51:29 +02:00
smix8
b9225f67c8
Warn that navigation mesh baking from Meshes is bad for runtime performance
...
Warns that navigation mesh baking from Meshes is bad for runtime performance.
2024-04-22 12:49:47 +02:00
bruvzg
0adb55423d
[RTL] Rewrite remove_paragraph
code.
2024-04-22 10:32:24 +03:00
aaronp64
ff60f7b6d4
Handle compressed images in TileSetAtlasSource::_create_padded_image_texture
...
Check for compressed image and decompress if needed
Fixes #78755
2024-04-21 21:36:12 -04:00
smix8
2594c57361
Add NavigationMeshSourceGeometryData append functions
...
Adds append functions to NavigationMeshSourceGeometryData.
2024-04-21 04:57:05 +02:00
Hugo Locurcio
b1a2394b3b
Use same colors for editor and running project for collision/path debug
...
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.
This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +02:00
Haoyu Qiu
fd14ba34d1
Fix TabContainer not redrawing after toggling tab icon
2024-04-20 21:08:46 +08:00