1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00
Commit Graph

16521 Commits

Author SHA1 Message Date
Thaddeus Crews
70ea5713cf Merge pull request #98012 from syntaxerror247/lineEdit-bug-fix
Fix uneditable `LineEdit`, `TextEdit` and `CodeEdit` virtual keyboard popup on mobile
2024-11-27 10:47:15 -06:00
Thaddeus Crews
9c300a6c05 Merge pull request #80965 from Calinou/viewport-add-get-stretch-scale-factor
Add a Viewport method to get automatically computed 2D stretch transform
2024-11-27 10:47:12 -06:00
Thaddeus Crews
c5cd7c66ee Merge pull request #85443 from smix8/gridmap_castshadows
Add ShadowCastingSetting to MeshLibrary / GridMap items
2024-11-27 10:47:10 -06:00
Thaddeus Crews
3edf8b91e9 Merge pull request #98489 from Flarkk/fix_project_position
Fix Camera3D::project_position() when depth=zfar
2024-11-27 10:47:07 -06:00
Thaddeus Crews
21542298aa Merge pull request #99743 from clayjohn/material-texture-mask
Use Vector4 for texture mask in BaseMaterial to avoid converting to and from Plane
2024-11-27 10:47:03 -06:00
Micky
99cbcd250a Fix AudioStreamPlayer2D/3D's get_playback_position returning 0 right after calling seek 2024-11-27 16:02:46 +01:00
Micky
06bb9944d7 Fix code consistency between AudioStreamPlayer2D and AudioStreamPlayer3D 2024-11-27 15:29:59 +01:00
Dario
34a19f07a4 Restore dirty list for BaseMaterial3D but don't use it on resource loader. 2024-11-27 10:37:19 -03:00
ze2j
97e0b43faa Add ArrayMesh::surface_remove 2024-11-27 13:46:15 +01:00
clayjohn
9e34e45480 Use Vector4 for texture mask in BaseMaterial to avoid converting to and from Plane 2024-11-26 21:43:46 -08:00
Trevor Davenport
70a55540b7 Ensure primitive meshes are created before connected to changed signal.
Primitive meshes are special in that they aren't created until calling
one of their methods which cause it to actually create the mesh
resources.  If this is not done early enough, a changed signal can be
triggered from an unexpected thread resulting in a threading warning.

This follows the pattern of mesh_instance_3d which also does this before
connecting to the change signal.  Future cleanup could provide a better
means to populate the meshes.
2024-11-26 20:51:08 -07:00
Mounir Tohami
2041d8cf08 Fix ScrollBar grabber mouse input. 2024-11-27 01:30:45 +00:00
smix8
612981c1ea Add ShadowCastingSetting to MeshLibrary / GridMap items
Adds ShadowCastingSetting to MeshLibrary / GridMap items.
2024-11-27 01:06:21 +01:00
Robert Yevdokimov
7375fe2173 Fix removing last digit in spinbox while update_on_text_changed is true 2024-11-26 15:41:16 -05:00
Thaddeus Crews
0ee60dd543 Merge pull request #99516 from KoBeWi/quantum_entanglement_of_source_files
Untangle ColorPicker includes
2024-11-26 13:04:54 -06:00
Thaddeus Crews
33093c2029 Merge pull request #99619 from TokageItLab/flippable
Make flipping flag consider influence in LookAtModifier3D
2024-11-26 13:04:48 -06:00
Thaddeus Crews
04786f0ee8 Merge pull request #97824 from TokageItLab/retarget-modifier
Add RetargetModifier3D for realtime retarget to keep original rest
2024-11-26 13:04:47 -06:00
Thaddeus Crews
d18f8046dd Merge pull request #99613 from TokageItLab/scl-fw
Fix `forward_vector` scale to handle `safe_margin` correctly in LookAtModifier
2024-11-26 13:04:45 -06:00
Thaddeus Crews
dc0fcf9753 Merge pull request #99612 from TokageItLab/lkat-bn
Make LookAtModifier3D adopt the bone name method
2024-11-26 13:04:44 -06:00
Thaddeus Crews
b41f02c035 Merge pull request #90644 from BattyBovine/cs3d_debug_colour
Add CollisionShape3D custom debug colors
2024-11-26 13:04:43 -06:00
Thaddeus Crews
391e0a6808 Merge pull request #99585 from TokageItLab/start-end-each
Make start/end can be retrieved from each PlaybackData on AnimationPlayer
2024-11-26 13:04:41 -06:00
Jamie Greunbaum
0fc082e1ee Add CollisionShape3D custom debug colours
This allows changing the display colour of a CollisionShape3D node on a per-shape basis.
It also adds the ability to display a solid coloured preview of a CollisionShape3D.

Closes https://github.com/godotengine/godot-proposals/issues/906
2024-11-26 16:28:13 +01:00
Giganzo
47788673ef Fix RTL visuals for sliders 2024-11-26 12:58:02 +01:00
Markus Sauermann
003647972f Rename consume_drag_and_drop to mouse_target
The functionality of the parameter is not limited to drag-and-drop
operations, but it has also other uses.
So its name should not be tied to drag-and-drop.

The API was created in the not yet released Godot 4.4-dev6, so this
change should not be considered compatibility breaking.
2024-11-25 21:36:29 +01:00
arkology
15bd2a9bc1 Show TextureProgressBar radial cross only when editing the scene 2024-11-25 21:00:50 +03:00
bruvzg
e0b4f3d314 [Windows] Fix root and current folder in native file dialog.
Co-authored-by: RedMser <redmser.jj2@gmail.com>
2024-11-25 15:00:25 +02:00
Pāvels Nadtočajevs
a2b8b51097 [RTL] Fix clearing text with set_text(""). 2024-11-25 09:36:53 +02:00
Silc Lizard (Tokage) Renew
38d274b021 Make flipping flag consider influence in LookAtModifier3D 2024-11-25 15:59:39 +09:00
Silc Lizard (Tokage) Renew
b76cdf525b Make LookAtModifier3D adopt to bone name method 2024-11-25 15:47:10 +09:00
arkology
99886f3204 Remove double is_editor_hint() check inside NOTIFICATION_READY for Camera2D node
`Engine::get_singleton()->is_editor_hint()` is already a part of `is_part_of_edited_scene()` function.
2024-11-25 09:28:16 +03:00
Pāvels Nadtočajevs
1d43fa9a64 Change file dialog all files filter name from All Files (*) to All Files(*.*). 2024-11-24 20:09:05 +02:00
Chaosus
7ecdfc8b52 Add samplerExternalOES type to shader globals 2024-11-24 14:33:52 +03:00
Silc Lizard (Tokage) Renew
27bd7b23f6 Fix forward_vector scale to handle safe_margin in LookAtModifier 2024-11-24 13:43:07 +09:00
Pablo Andres Fuente
86ea0127a3 Add a focus border on ScrollContainer
Also added new unit tests for `Control`.

Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2024-11-23 23:54:38 -03:00
Bad Sector
da191168fe Add VoxelGI bake cancelling and progress UI improvement 2024-11-23 21:12:57 +02:00
A Thousand Ships
f6ea6cdb67 Fix some invalid int property ranges
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
  note
2024-11-23 19:17:29 +01:00
Silc Lizard (Tokage) Renew
ebf7e86bd4 Make start/end can be retrieved from each PlaybackData on AnimPlayer 2024-11-23 22:49:37 +09:00
Thaddeus Crews
7faad0cc7a Merge pull request #97388 from tetrapod00/visualshader-linear-srgb
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-11-22 14:54:47 -06:00
Thaddeus Crews
37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Thaddeus Crews
fe1c044c73 Merge pull request #99394 from TokageItLab/root-local
Add `root_motion_local` option to AnimationMixer to pre-multiply root motion rotation accumulator before blending
2024-11-22 14:54:24 -06:00
Thaddeus Crews
cef0c3548e Merge pull request #99498 from carsonetb/mesh-gen-optimization
Optimize mesh generation by preventing unneeded shape recalculations
2024-11-22 14:54:18 -06:00
Thaddeus Crews
a82f4c5d64 Merge pull request #97061 from YeldhamDev/rtl_l18n_fix
Fix `RichTextLabel`'s modified stack being wiped on translation changes
2024-11-22 14:54:17 -06:00
Thaddeus Crews
f2763b23cf Merge pull request #99483 from badsectoracula/cancel_lightmap_bake
Add lightmap bake cancelling
2024-11-22 14:54:14 -06:00
Thaddeus Crews
0430b977b6 Merge pull request #99348 from TokageItLab/explicit_elapse
Add `explicit_elapse` option to AnimationNodeTimeSeek to handle some processes
2024-11-22 14:54:11 -06:00
Thaddeus Crews
d58d8914db Merge pull request #99461 from beicause/color-picker-fix-68286
ColorPicker: fix OKHSL circle in HSV mode
2024-11-22 14:54:09 -06:00
kobewi
289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
Michael Alexsander
250de088e3 Fix RichTextLabel's modified stack being wiped on translation changes 2024-11-22 16:09:26 -03:00
AThousandShips
ff6eea5042 Prevent infinite recursion in first _draw 2024-11-22 17:42:58 +01:00
Carson Bates
c874e284eb Optimize mesh generation by preventing unneeded shape recalculations
Co-authored-by: Sequoia Haynes <supersequoia11@gmail.com>
2024-11-21 19:49:21 -08:00
Thaddeus Crews
2993289172 Merge pull request #86481 from Illauriel/add-animlib-folding
Add persistent folding to Animation Library Editor
2024-11-21 17:56:57 -06:00