Commit graph

14352 commits

Author SHA1 Message Date
Rémi Verschelde
de272fffe9
Merge pull request #88629 from groud/fix_runtime_update_mem_leak
Fix a memory leak with TileMap runtime updates
2024-02-22 14:39:14 +01:00
Rémi Verschelde
a246a4b523
Merge pull request #87967 from jsjtxietian/set_item_submenu
Fix `set_item_submenu` infinite recursion crash
2024-02-22 14:39:06 +01:00
Rémi Verschelde
150f002092
Merge pull request #82984 from smix8/revert_blendshapes_4.x
Show revert button for MeshInstance3D blendshape values
2024-02-22 14:39:02 +01:00
Rémi Verschelde
5ce436f624
Merge pull request #88643 from YeldhamDev/too_bad
Revert "Fix `NOTIFICATION_WM_SIZE_CHANGED` firing if the size hasn't changed"
2024-02-22 11:23:37 +01:00
Rémi Verschelde
0a3f162f17
Merge pull request #88494 from AThousandShips/tab_fix
Fix error spam when adding tabs to `TabBar` without deselect
2024-02-22 11:23:15 +01:00
Rémi Verschelde
efa4d0aabf
Merge pull request #86321 from jsjtxietian/fix-blendnode-crash
Fix `blend_node` crash with invalid AnimationNode reference
2024-02-22 11:22:56 +01:00
jsjtxietian
65c8af53a1 Fix blend_node crash with invalid p_node 2024-02-22 12:56:21 +08:00
jsjtxietian
3525972bc7 Fix set_item_submenu infinite recursion crash 2024-02-22 12:37:50 +08:00
Michael Alexsander
584a6aeeb7
Revert "Fix NOTIFICATION_WM_SIZE_CHANGED firing if the size hasn't changed"
This reverts commit 957378a69e, reversing
changes made to 0d88840e81.
2024-02-21 15:37:53 -03:00
Gilles Roudière
33485e654e Fixes a memory leak with TileMap runtime updates 2024-02-21 13:18:21 +01:00
Rémi Verschelde
652438a395
Merge pull request #87360 from BastiaanOlij/gles_glow
Implement glow/bloom on compatibility renderer
2024-02-20 23:59:48 +01:00
Rémi Verschelde
292f4c7f97
Merge pull request #80214 from BastiaanOlij/rendering_effect
Implement hooks into renderer
2024-02-20 23:59:27 +01:00
A Thousand Ships
a56c03d495
Fix error spam when adding tabs to TabBar without deselect
`current` was allowed to be `-1` when deselection was disabled, causing
errors in other methods when updating the size.
2024-02-20 23:38:20 +01:00
Rémi Verschelde
73d502fbc1
Merge pull request #88602 from puchik/remove-cpuparticle-custom-aabb-init
Remove unnecessary AABB initialization for CPUParticles
2024-02-20 19:34:57 +01:00
Rémi Verschelde
73758e093e
Merge pull request #88456 from sabslikesobs/master
Expose pixel snapping settings add pixel-art notes
2024-02-20 19:34:48 +01:00
Rémi Verschelde
4d6d2d1f8b
Merge pull request #87095 from TML233/expose_get_canvas_layer
Add `CanvasItem::get_canvas_layer_node()`
2024-02-20 19:34:44 +01:00
Rémi Verschelde
6037500219
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
Use `check_changed_settings_in_group()` everywhere
2024-02-20 19:34:30 +01:00
Arman Elgudzhyan
c41725c9c6 Removed unnecessary AABB initialization for CPUParticles
Setting an AABB manually for CPUParticles unnecessarily registers as a custom AABB and can cause issues on some platforms and hardware.
2024-02-20 09:48:18 -08:00
TML
6a17f2a82d
Expose CanvasLayer::get_canvas_layer_node() 2024-02-20 18:14:47 +01:00
Michael Alexsander
aa258c6c12
Fix RichTextLabel's tag stack being overridden on translation change 2024-02-20 12:19:53 -03:00
Rémi Verschelde
8f1915eb90
Revert "Fix selecting popup menu items on mouse release" 2024-02-20 10:05:41 +01:00
kobewi
a031911c82 Use check_changed_settings_in_group() everywhere 2024-02-19 21:34:45 +01:00
Rémi Verschelde
fb10e67fef
Merge pull request #88557 from akien-mga/fix-animation-mixer-resolving-tracks
Fix AnimationMixer breaking animations with redundant check
2024-02-19 17:06:57 +01:00
Rémi Verschelde
56134e99da
Merge pull request #87830 from KoBeWi/internalization_aka_i15n
Fix wrong process method in AudioStreamPlayer
2024-02-19 17:06:32 +01:00
Travis Lange
ae97cf2ff0
Fix AnimationMixer breaking animations with redundant check
Also change `Node::get_node_and_resource` to prevent it from printing an
error from `Node::get_node`, and just returns nullptr. This is what the
redundant check was trying to prevent.

Fixes #88428.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-19 16:50:19 +01:00
Rémi Verschelde
a92921ae49
Merge pull request #88479 from passivestar/lineedit-delete-with-selection
Fix `LineEdit` delete all the way to the left/right when something is selected
2024-02-19 10:43:58 +01:00
Rémi Verschelde
aa7ac130c0
Merge pull request #88312 from Malcolmnixon/face-tracker-provider
Add XR Face Tracking support
2024-02-19 10:43:45 +01:00
Rémi Verschelde
7d4e24dc78
Merge pull request #88009 from nikitalita/Skeleton3D-missing-pose
Fix converted 3.x `Skeleton3D` missing pose
2024-02-19 10:43:41 +01:00
Silc Lizard (Tokage) Renew
772a753960 Fix some animation state corruptions on activate and reset on save 2024-02-19 13:04:22 +09:00
Bastiaan Olij
aa260e5f3d Implement glow/bloom on compatibility renderer 2024-02-19 13:29:43 +11:00
Rémi Verschelde
da26ef2d3e
Merge pull request #88492 from TokageItLab/dominant-anim
Make `ANIMATION_CALLBACK_MODE_DISCRETE_DOMINANT` be default for AnimationPlayer
2024-02-19 01:25:10 +01:00
Rémi Verschelde
ab4c5a594a
Merge pull request #88521 from YeldhamDev/atr_regression
Fix regression in auto translation overhaul
2024-02-19 00:09:22 +01:00
Rémi Verschelde
af17187920
Merge pull request #88488 from TokageItLab/bezier-vs-value
Fix some conditions for BezierTrack to distinguish between ValueTrack
2024-02-19 00:08:51 +01:00
Rémi Verschelde
3b649d208f
Merge pull request #88477 from jsjtxietian/tab-down
Tweak property order in the inspector for TabBar
2024-02-19 00:08:44 +01:00
Rémi Verschelde
0c4d8d7a6c
Merge pull request #88473 from Sauermann/fix-mouse-event-global-position
Fix global position for `InputEventMouse` in `viewport::push_input`
2024-02-19 00:08:37 +01:00
Rémi Verschelde
0f0515a75f
Merge pull request #87743 from WhalesState/camera2d
Fix `Camera2D` is enabled when dragging scene files to the `CanvasItemEditor`
2024-02-19 00:07:57 +01:00
Rémi Verschelde
dfcecb77bd
Merge pull request #79617 from sepTN/add-screensize-check-popup
Add size check to prevent popup bigger than the screen itself
2024-02-19 00:07:01 +01:00
Michael Alexsander
b56774b5bf
Fix regression in auto translation overhaul 2024-02-18 19:33:08 -03:00
Mounir Tohami
451b198c40 Fix dragging scene files to the CanvasItemEditor 2024-02-18 21:55:14 +02:00
Septian
34210e812a Add screen size check on popup 2024-02-19 00:25:02 +07:00
Silc Lizard (Tokage) Renew
3d6d5a6a36 Make CallbackModeDiscrete.Dominant be default for AnimationPlayer 2024-02-18 20:02:20 +09:00
Bastiaan Olij
5a98845655 Implement hooks into renderer 2024-02-18 21:54:21 +11:00
Silc Lizard (Tokage) Renew
c9fc29ae86 Fix some condition for BezierTrack to distinguish between ValueTrack 2024-02-18 19:42:46 +09:00
Rémi Verschelde
e8755b380a
Merge pull request #84792 from scriptsengineer/distance-fog
Add optional depth fog to Environment
2024-02-18 11:23:29 +01:00
passivestar
c2a4a0d4cb Fix LineEdit delete all the way to the left/right when something is selected 2024-02-18 11:58:37 +04:00
jsjtxietian
b7028e5f94 Tweak property order in the inspector for TabBar 2024-02-18 12:54:51 +08:00
Markus Sauermann
8de39911c8 Fix global position for InputEventMouse in viewport::push_input
Global position doesn't get adjusted within `InputEventMouse::xformed_by()`.
2024-02-18 03:26:09 +01:00
Eidolon
08f4560e69 Add optional depth fog 2024-02-17 22:39:34 -03:00
Malcolm Nixon
7d1a1abe76 Initial XRFaceTrackingProvider and XRFaceTracker work.
Updated to XRFaceModifier3D.
2024-02-17 20:12:47 -05:00
Sabs, like Sobs
3475156ae3 Expose pixel snapping settings add pixel-art notes
This small in-engine documentation change aims to make it easier to
discover ways to handle pixel art aesthetics.

- I have moved 2D pixel snapping settings out of "Advanced." This now matches other pixel-art-friendly settings for
GUI Snapping and Default Texture filtering.
- I've added notes to the project settings and Sprite/AnimatedSprite sources to hint users towards better understanding of why pixelated sprites may not work correctly and what to do about it. This should help users make informed decisions for their needs.

Context: Proper handling of pixel art in Godot is routinely frustrating for new users: I, like others, assumed that Godot would act on pixels, not subpixels, when I was working a pixel art game. I was confused when my interpolations would appear blurry, and when pixel textures would be distorted for no apparent reason (this was because of centering).
I had naively thought that setting Linear interpolation would be the single "it's a pixel art game" toggle, but that only hid the underlying issues until later. I had no idea there was a snap-to-pixel option because it was hidden in the Advanced options, since my default assumption was that a pixel art game would want no subpixels at all.

Some references for the frustration:

- https://github.com/godotengine/godot/issues/82696
- https://www.reddit.com/r/godot/comments/fah25e/best_way_to_achieve_pixel_perfect_rendering/
- https://shaggydev.com/2021/09/21/project-setup-for-pixel-art/
2024-02-17 23:40:53 +00:00