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
Hugo Locurcio
d20305a718
Improve documentation related to ubershaders in ProjectSettings
2023-04-25 19:03:49 +02:00
Rémi Verschelde
3956ea7ddf
Merge pull request #76424 from timothyqiu/nested-folders-3.x
...
[3.x] Make create folder popup support nested folders
2023-04-25 16:25:08 +02:00
Rémi Verschelde
2df077915d
Merge pull request #76423 from timothyqiu/editor-dialog-3.x
...
[3.x] Fix inconsistent file dialog settings usage
2023-04-25 16:25:05 +02:00
Rémi Verschelde
a2534cecf2
Merge pull request #76216 from belzecue/backport-PR55313
...
[3.x] Fix RigidDynamicBody gaining momentum with bounce
2023-04-25 16:25:03 +02:00
Rémi Verschelde
bfb6877b3c
Merge pull request #75612 from lawnjelly/fix_skele2d_bounds2
...
[3.x] Fix Polygon2D skinned bounds (for culling)
2023-04-25 16:24:59 +02:00
Rémi Verschelde
54e293bfcb
Merge pull request #69952 from lawnjelly/canvas_layer_ordering
...
Consistent render ordering for CanvasLayers
2023-04-25 16:24:57 +02:00
Rémi Verschelde
31224276ee
Merge pull request #63193 from BimDav/visibility_enabler2
...
Add option in VisibilityEnabler2D to hide the parent for better performance
2023-04-25 16:24:54 +02:00
Haoyu Qiu
d6672d8fe4
Make create folder popup support nested folders
2023-04-25 10:15:07 +08:00
Haoyu Qiu
392f65fe09
Fix inconsistent file dialog settings usage
2023-04-25 09:27:26 +08:00
Fredia Huya-Kouadio
dc97a2e543
Merge pull request #75699 from m4gr3d/fix_ux_controls_3x
...
[3.x] Fix UI responsiveness to touch taps
2023-04-23 18:26:32 -07:00
Fredia Huya-Kouadio
e31b1a76f8
Make `EditorPropertyLayersGrid` responsive to touch taps
2023-04-23 07:12:39 -07:00
Fredia Huya-Kouadio
de20011cbe
Make tab's close button responsive to touch taps
2023-04-22 20:31:18 -07:00
Fredia Huya-Kouadio
3943de2e6c
Merge pull request #71875 from m4gr3d/editor_optimization_3x
...
[3.x] Add benchmark logic
2023-04-22 20:18:45 -07:00
Fredia Huya-Kouadio
d46684057b
Merge pull request #76329 from m4gr3d/downgrade_agp_3x
...
[3.x] Downgrade android gradle plugin to version 7.2.1.
2023-04-22 20:12:03 -07:00
Aaron Franke
141783d90f
[3.x] Expose `determinant` in Transform2D, rename internal method
2023-04-22 13:47:47 -05:00