1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00
Commit Graph

16521 Commits

Author SHA1 Message Date
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
Thaddeus Crews
d72112ba0a Merge pull request #98816 from arkology/to-infinity-and-beyond
Improve `TextureProgressBar.set_radial_initial_angle()` by removing loops
2024-11-18 09:23:28 -06:00
Silc Lizard (Tokage) Renew
f5b49af99f Add RetargetModifier3D for realtime retarget to keep original rest 2024-11-18 22:44:55 +09:00
A Thousand Ships
68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
matricola787
790efbb783 Implement closed path for Curve3d 2024-11-16 12:59:08 +01:00
Rie
31a3b418f7 Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
shahriarlabib000
177bba12b0 hide unused exp_edit from SpinBox inspector 2024-11-15 22:57:43 +06:00
Thaddeus Crews
46d83fd149 Merge pull request #99277 from HolonProduction/why-remove-this-in-the-first-place
Add back `AnimationPlayer.get_argument_options`
2024-11-15 10:42:38 -06:00
Thaddeus Crews
af3fb0a2b8 Merge pull request #86085 from TheSofox/text-undo-cleanup
Cleanup in undo in `TextEdit` and `LineEdit`
2024-11-15 10:42:33 -06:00
Thaddeus Crews
934549e2a0 Merge pull request #99266 from bruvzg/fd_proc_filters
Use processed filter list for native dialogs.
2024-11-15 10:42:30 -06:00
HolonProduction
a389eb4608 Add back AnimationPlayer.get_argument_options 2024-11-15 13:06:59 +01:00
Pāvels Nadtočajevs
f5fad7592f Use processed filter list for native dialogs. 2024-11-15 12:08:33 +02:00
Mack
282425eefb Fix setting TileMap data compatibility format broken by #98898. 2024-11-15 01:20:30 +00:00
Thaddeus Crews
36fac3df7a Merge pull request #75164 from Calinou/visualinstance3d-lightmap-scale-float
Allow more flexible adjustments of VisualInstance3D Lightmap Scale
2024-11-14 14:52:00 -06:00
arkology
d692b7bdde Improve set_radial_initial_angle by removing loops
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +03:00
Hugo Locurcio
1e5f0a86ca Allow more flexible adjustments of VisualInstance3D Lightmap Scale
Any floating-point value greater than 0.01 can now be used.
Prior to this change, only factors of 1×, 2× and 4× and 8× could be used.
2024-11-14 17:28:05 +01:00
K. S. Ernest (iFire) Lee
b0e04c1e7a Sort blend shapes in the inspector by ID instead of alphabetically
Blend shapes (morph targets, shape keys) should be sorted by the physical order of the blend shapes, and that index should be converted to a name string.
2024-11-14 05:54:32 -08:00
Pāvels Nadtočajevs
932b2269f8 Fix missing native file dialog title translation. 2024-11-14 14:48:52 +02:00
bruvzg
b329b4ab06 [Label] Handle text as multiple independent paragraphs. 2024-11-14 11:29:46 +02:00
Thaddeus Crews
2778379644 Merge pull request #99142 from KoBeWi/pasta_la_vista
Ignore paste action if clipboard is empty
2024-11-13 08:34:16 -06:00
Thaddeus Crews
07d7d9bca5 Merge pull request #94372 from TokageItLab/advance-on-start
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
2024-11-13 08:33:57 -06:00
Thaddeus Crews
370c692bcb Merge pull request #98706 from Nazarwadim/fix_capture_cache_was_not_cached
Fix `capture_cache.animation` was not cached
2024-11-13 08:33:54 -06:00
kobewi
8437a05cc9 Ignore paste action if clipboard is empty 2024-11-12 20:40:47 +01:00
Thaddeus Crews
51d7d6b5b7 Merge pull request #98678 from Daylily-Zeleen/daylily-zeleen/fix_text_edit
Fix `total_visible_line_count` calculation when removing and clearing `TextEdit`'s text.
2024-11-12 12:13:20 -06:00
Thaddeus Crews
cd66343c70 Merge pull request #98543 from rune-scape/code-edit-margin
CodeEdit: Fix line number margin
2024-11-12 12:13:19 -06:00
Thaddeus Crews
b1526f45b8 Merge pull request #97890 from timothyqiu/id-focused
Fix `PopupMenu.id_focused` signal using index as ID
2024-11-12 12:13:16 -06:00
Thaddeus Crews
cc6ee3e956 Merge pull request #98713 from dalexeev/core-fix-callable-get-bound-arguments
Core: Fix `Callable.get_bound_arguments{,_count}()` return incorrect data
2024-11-12 12:13:04 -06:00
Thaddeus Crews
cf160747a0 Merge pull request #98536 from TokageItLab/fix-deactivation-modifier
Fix Skeleton doesn't update skin after deactivating modifiers when it has only one modifier
2024-11-12 09:28:07 -06:00
Thaddeus Crews
e960aa319f Merge pull request #99030 from tracefree/obstacle_2d_transform
Make use of NavigationObstacle2D's transform
2024-11-12 09:28:03 -06:00
Thaddeus Crews
1af1bb7d60 Merge pull request #98625 from jweisberg/handle-nan-in-curve3d-find-interval
Curve: Check for finiteness before performing calculations in `sample_baked()` functions
2024-11-12 09:27:57 -06:00
Thaddeus Crews
658b5d4cf8 Merge pull request #97573 from shahriarlabib000/spinBox
Fix Spinbox display does not round properly when using decimal custom arrow steps
2024-11-12 09:27:51 -06:00
Thaddeus Crews
9995c3eedd Merge pull request #98446 from TokageItLab/look-at-modifier
Implement LookAtModifier3D
2024-11-12 09:27:35 -06:00
Thaddeus Crews
0ad3181d14 Merge pull request #98951 from AThousandShips/fix_more_super_call
Fix a few more super calls in `get_configuration_warnings` methods
2024-11-12 09:27:33 -06:00
JWeisberg
33afdff08d Curve: Check for finiteness before performing calculations in sample_baked() functions 2024-11-12 15:53:59 +01:00
smix8
086bd1d82c Improve NavigationObstacle3D editor tooling
Improves NavigationObstacle3D editing options inside the editor.
2024-11-12 12:44:12 +01:00
Rie
e39fc3e8c2 Make use of NavigationObstacle2D's transform 2024-11-11 23:34:47 +01:00