Commit graph

35093 commits

Author SHA1 Message Date
Rémi Verschelde
474265701f
Merge pull request #77349 from akien-mga/3.x-bullet-3.25
[3.x] bullet: Sync with upstream 3.25
2023-05-23 19:05:35 +02:00
Rémi Verschelde
88189c6c5d
Merge pull request #77281 from MJacred/3.x-cherrypick
[3.x] Warn against using non-uniform scale for 3D physics (in  class reference only)
2023-05-23 19:05:32 +02:00
Rémi Verschelde
894739109d
Merge pull request #77245 from novalis/slider-3.5
[3.x] Stop dragging when Slider changes editability
2023-05-23 19:05:29 +02:00
Rémi Verschelde
63bb2485f1
Merge pull request #77232 from AThousandShips/id_doc_3_x
[3.x] Clarify range of various ID values are 32 bit
2023-05-23 19:05:27 +02:00
Rémi Verschelde
f1fa69a58d
Merge pull request #76753 from Calinou/itemlist-tree-add-allow-search-property-3.x
Add allow_search property to ItemList and Tree (3.x)
2023-05-23 19:05:25 +02:00
Rémi Verschelde
5f4fb87327
Merge pull request #76723 from aaronfranke/3.x-ancestortecedent
[3.x] Fix small mistake in docs, "antecedents" -> "ancestors"
2023-05-23 19:05:23 +02:00
kobewi
95feb6bb82 Cache text property when toggling BBCode 2023-05-23 19:04:39 +02:00
Rémi Verschelde
1bc03d9d65
GDNative: Add Core API 1.4, move Transform2D::determinant there
It was added in #77283 but broke compatibility by being introduced in
an already released core API (1.0).

Fixes #77283.
2023-05-23 11:47:31 +02:00
Rémi Verschelde
b958e8a236
bullet: Sync with upstream 3.25
Remove upstreamed patch.
2023-05-22 15:10:57 +02:00
MJacred
1c63c54ab3 [3.x] Warn against using non-uniform scale for 3D physics (in class reference only)
partial backport of #67847
fixes #56824
2023-05-20 18:48:34 +02:00
David Turner
f6b918a1ca Stop dragging when a slider changes editability 2023-05-19 11:31:34 -04:00
Ninni Pipping
96ad972dc5 [3.x] Clarify range of various ID values are 32 bit 2023-05-19 17:23:11 +02:00
Rémi Verschelde
1538b870f1
Merge pull request #76715 from m4gr3d/add_input_event_cancelled_state_3x
[3.x] Augment the `InputEvent` class with a `CANCELED` state
2023-05-17 18:21:42 +02:00
Rémi Verschelde
e5e73e7068
Merge pull request #74583 from m4gr3d/setup_play_store_builds_3x
[3.x] Update the gradle build tasks to generate play store builds.
2023-05-17 18:21:36 +02:00
Rémi Verschelde
4cc2229a52
Merge pull request #72251 from RandomShaper/robust_sync_3.x
[3.x] Backport some multi-threading goodies
2023-05-16 13:16:25 +02:00
Rémi Verschelde
567128b64f
Merge pull request #76671 from dioptryk/obj-vertex-colors
[3.x] Add vertex color support to OBJ importer
2023-05-15 09:42:06 +02:00
Fredia Huya-Kouadio
94d6c3dcc6 Augment the InputEvent class with a CANCELED state
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field.
This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled.
To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
2023-05-12 15:22:54 -07:00
Rémi Verschelde
716fef79ef
Merge pull request #76962 from akien-mga/3.x-linux-joypad-skip-udev-if-sandboxed
[3.x] Linux: Don't use udev for joypad hotloading when running in a sandbox
2023-05-12 16:39:55 +02:00
Rémi Verschelde
bf56a3a143
Merge pull request #76902 from lawnjelly/safe_acos
[3.x] Make acos and asin safe
2023-05-12 12:45:30 +02:00
Rémi Verschelde
8a23fa41a8
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
2023-05-12 11:30:33 +02:00
Rémi Verschelde
3762fe3d9d
Merge pull request #76981 from m4gr3d/fix_input_anr_3x
[3.x] Fix input ANR in the Godot Android editor
2023-05-12 11:16:15 +02:00
Fredia Huya-Kouadio
2509c1691d Follow up to https://github.com/godotengine/godot/pull/76400 to fix input ANR in the Godot Android editor 2023-05-11 19:10:31 -07:00
Unai Martinez-Corral
c4becb0ca4
[ci/web] update mymindstorm/setup-emsdk to v12
(cherry picked from commit dcb974700b)
2023-05-11 21:06:07 +02:00
lawnjelly
6f8e632848 Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-05-11 09:51:44 +01:00
Rémi Verschelde
df4075604e
Merge pull request #76867 from Calinou/doc-3d-particles-color-3.x
Document 3D particle color properties requiring vertex color as albedo (3.x)
2023-05-09 10:55:48 +02:00
Rémi Verschelde
6fc3fb5d62
Merge pull request #76775 from lawnjelly/multirect_refine_bug
Multirect - Fix refining regions in derived Textures
2023-05-09 10:43:37 +02:00
Hugo Locurcio
c65967c17f
Document 3D particle color properties requiring vertex color as albedo 2023-05-09 00:55:19 +02:00
Fredia Huya-Kouadio
f9ae38d87c
Merge pull request #73692 from m4gr3d/update_touchscreen_editor_settings_3x
[3.x] Enable granular control of touchscreen related settings
2023-05-08 09:10:36 -07:00
lawnjelly
43b6205887 Multirect - Fix refining regions for all derived Textures
Fixes allowing all derived texture types to modify region prior to rendering.
2023-05-08 14:48:46 +01:00
Rémi Verschelde
627a2909c2
Merge pull request #76833 from kleonc/gridcontainer-max-row-column-calculations-fix
[3.x] Fix `GridContainer` max row/column calculations not skipping hidden children
2023-05-08 15:06:28 +02:00
Rémi Verschelde
e250950760
Merge pull request #76703 from kleonc/tilemap-nested-atlas-texture-rendering-fix
[3.x] Fix rendering tiles using nested AtlasTextures
2023-05-08 14:58:07 +02:00
Rémi Verschelde
281e5703b1
Merge pull request #76544 from AThousandShips/bit_poly_size_3_x
[3.x] Fix size error in `BitMap.opaque_to_polygons`
2023-05-08 14:58:04 +02:00
Rémi Verschelde
793a45dbbd
Merge pull request #76400 from RandomShaper/fix_android_input_anr_3.x
[3.x] Allow concurrent buffering and dispatch of input events
2023-05-08 14:58:02 +02:00
kleonc
0ce6ef7215 Fix GridContainer max row/column calculations not skipping hidden children 2023-05-08 12:51:28 +02:00
Pedro J. Estébanez
e5b399be65 Allow concurrent buffering and dispatch of input events 2023-05-08 09:15:48 +02:00
Fredia Huya-Kouadio
b78935ef51 Adds a scale_gizmo_handles entry to the Touchscreen editor settings
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:03 -07:00
needleful
aac5558760
Add allow_search property to ItemList and Tree 2023-05-05 18:02:49 +02:00
Aaron Franke
92f0c9272f
[3.x] Fix small mistake in docs, "antecedents" -> "ancestors" 2023-05-03 23:51:01 -05:00
kleonc
12c923cb8b Fix rendering tiles using nested AtlasTextures 2023-05-03 18:29:28 +02:00
Bartłomiej Karwacki
ab8792cc7b Add vertex color support to OBJ importer 2023-05-02 12:03:01 +02:00
Ninni Pipping
48347499c2 Fix size error in BitMap.opaque_to_polygons
Previous estimate of upper limit on size was incorrect
2023-04-28 19:03:49 +02:00
Rémi Verschelde
adee8cfee6
Merge pull request #76533 from lawnjelly/message_queue_perf
MessageQueue - Fix max usage performance statistic
2023-04-28 18:37:37 +02:00
Rémi Verschelde
b3bcec8c4a
Merge pull request #76346 from HolonProduction/suggest-class-name
Suggest `class_name` in 3.x autocompletion.
2023-04-28 18:37:11 +02:00
lawnjelly
cc60359a6c MessageQueue - Fix max usage performance statistic
Fixes to keep track of the maximum usage over time, rather than current usage.
2023-04-28 09:02:11 +01:00
Fredia Huya-Kouadio
30e3e301e0 Update the gradle build tasks to generate play store builds.
Configure the gradle builds to sign and build the release version of the Godot Android Editor
2023-04-27 22:13:00 -07:00
Rémi Verschelde
e09ca30b32
Merge pull request #76453 from aaronfranke/3.x-gltf-physics
[3.x] Implement physics support in the GLTF module
2023-04-26 12:17:07 +02:00
Rémi Verschelde
83e91ab818
Merge pull request #76323 from aaronfranke/3.x-t2d-basis-det
[3.x] Expose `determinant` in Transform2D, rename internal method
2023-04-26 12:17:00 +02:00
Aaron Franke
571e4189fd
[3.x] Implement physics support in the GLTF module 2023-04-25 15:18:02 -05:00
lawnjelly
b777a9e5f9 Canvas item hierarchical culling
Adds optional hierarchical culling to the 2D rendering (within VisualServer).

Each canvas item maintains a bound in local space of the item itself and all child / grandchild items. This allows branches to be culled at once when they don't intersect a viewport.
2023-04-25 20:17:33 +01:00
Rémi Verschelde
15c729e1d9
Merge pull request #76321 from Calinou/doc-projectsettings-ubershader-3.x
Improve documentation related to ubershaders in ProjectSettings
2023-04-25 19:25:11 +02:00