Commit graph

15938 commits

Author SHA1 Message Date
Thaddeus Crews
f128f383e8
Merge pull request #98035 from WhalesState/scroll-bar-grapper-area
Fix `ScrollBar` grabber mouse input ignores scroll content margins.
2024-11-27 10:47:32 -06:00
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
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
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
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
Silc Lizard (Tokage) Renew
27bd7b23f6 Fix forward_vector scale to handle safe_margin in LookAtModifier 2024-11-24 13:43:07 +09:00
Bad Sector
da191168fe Add VoxelGI bake cancelling and progress UI improvement 2024-11-23 21:12:57 +02: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
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
Thaddeus Crews
0eca686191
Merge pull request #99270 from Sauermann/fix-svc-drop-config
Introduce a `SubViewportContainer` config for drag-and-drop target locations
2024-11-21 17:56:48 -06:00
Thaddeus Crews
8eee5066eb
Merge pull request #94981 from Chaosus/shader_fix_screen_uv_in_spatial_light
Allow `SCREEN_UV` to be used in light function of spatial shader
2024-11-21 17:56:45 -06:00
Bad Sector
5bca028e2b Add lightmap bake cancelling 2024-11-21 21:31:02 +02:00
LuoZhihao
f6751d8d17 ColorPicker: fix OKHSL circle in HSV mode 2024-11-21 13:26:05 +08:00
Rémi Verschelde
285954659d
Merge pull request #96721 from aXu-AP/tooltip-distance
Fix tooltip appearing in old place, on movement
2024-11-20 17:03:08 +01:00
Silc Lizard (Tokage) Renew
9ab94df772 Add explicit_elapse option to NodeSeek to handle some processes 2024-11-20 22:51:27 +09:00
Hugo Locurcio
0cf99cf95d
Add a Viewport method to get automatically computed 2D stretch transform
`Viewport.get_stretch_transform()` returns the automatically computed
2D stretch transform. Combined with `Transform2D.get_scale()`, this is
useful when using the `canvas_items` stretch mode in a project.

There are many situations where knowing this factor is useful:

- Divide Camera2D zoom to keep the size of the 2D game world identical
  regardless of the 2D scale factor (so that UI elements can still be scaled).
- Make certain controls always drawn at 1:1 scale
  (e.g. for the crosshair in a FPS). This is done by dividing the Control
  node's scale by the scale factor.
2024-11-19 23:11:13 +01:00
Markus Sauermann
117158d271 Introduce a SubViewportContainer config for drag-and-drop targets
With the drag-and-drop rewrite, `SubViewportContainer` nodes were no
longer available as drop-locations.

This PR introduces a configuration option, that allows
`SubViewportContainer` to be considered as drop-location, but disables the
`Control` nodes inside its `SubViewport` children as drop-location.
2024-11-19 23:06:41 +01:00
Thaddeus Crews
3a4feeda89
Merge pull request #99289 from shahriarlabib000/hideExp
Hide unused `exp_edit` from SpinBox's inspector
2024-11-19 15:20:21 -06:00
Thaddeus Crews
1680edb2cd
Merge pull request #99231 from fire/sort-blendshapes-by-id
Sort blend shapes in the inspector by ID instead of alphabetically
2024-11-19 15:20:11 -06:00
Illauriel
5de38f7fd3 Add persistent folding to Animation Library Editor 2024-11-19 20:01:30 +01:00
Chaosus
a64b3fd3f8 Allow SCREEN_UV to be used in light function of spatial shader 2024-11-19 11:39:49 +03:00
Silc Lizard (Tokage) Renew
755bcf4737 Add root_motion_local option to AnimationMixer 2024-11-19 08:25:31 +09:00
Thaddeus Crews
8d530bc95a
Merge pull request #99176 from tracefree/obstacle_transform
Fix obstacle avoidance and 3D editor ignoring transform
2024-11-18 09:23:48 -06:00
Thaddeus Crews
8e324c4589
Merge pull request #86195 from GreenCrowDev/curve3d_close
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 -06:00