1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00
Commit Graph

17144 Commits

Author SHA1 Message Date
chansoen
cf7e88f6ac Fix option_button.cpp not updating selected when out of bounds 2025-05-23 13:00:31 -07:00
Thaddeus Crews
274ed34ac4 Merge pull request #93836 from aaronfranke/capsule-mid-height
Add mid height property to CapsuleShape2D/3D
2025-05-23 09:46:13 -05:00
Thaddeus Crews
63070dd61e Merge pull request #106224 from lawnjelly/fti_scenetree_faster_children
`SceneTreeFTI` faster access to `Node` children
2025-05-22 12:15:09 -05:00
Thaddeus Crews
5b2525673a Merge pull request #102360 from berarma/theora_seek
Implement seek operation for Theora video files, improve multi-channel audio resampling.
2025-05-22 12:15:07 -05:00
Thaddeus Crews
8085fd3102 Merge pull request #93142 from clayjohn/z_clip_scale
Add new shader built ins: `Z_CLIP_SCALE` and `PERSPECTIVE_SCALE`
2025-05-22 12:15:06 -05:00
Thaddeus Crews
4daad86a86 Merge pull request #106562 from zeux/lod-metrics
Adjust LOD selection metrics to use attribute error
2025-05-22 12:15:03 -05:00
Thaddeus Crews
7c6951da42 Merge pull request #106671 from bruvzg/svg_lazy_load
Improve SVGTexture lazy loading.
2025-05-22 12:14:59 -05:00
Bernat Arlandis
b9bebf7081 Full Theora video support in VideoStreamPlayer
- Implement `set_stream_position` and `get_stream_length`.
- Don't show blank frame when stopping the video (smooth loops).
- Fix audio for videos with up to 8 channels.
- Improve internal audio handling.
2025-05-22 14:00:57 +02:00
lawnjelly
cbd6c8d561 SceneTreeFTI faster access to Node children 2025-05-21 17:19:10 +01:00
Thaddeus Crews
4a44078451 Merge pull request #106654 from jamie-pate/fix_106647
Fix Heap buffer overflow in Animation::_find()
2025-05-21 09:06:28 -05:00
Thaddeus Crews
6414451ced Merge pull request #106441 from jorgekorgut/fix-highlight-issues
Fix highlighting warning and error issues
2025-05-21 09:06:24 -05:00
Thaddeus Crews
f1e18433d1 Merge pull request #106657 from Riteo/mfw-single-window-mode-broke
Wayland: Fix window fitting in single-window mode
2025-05-21 09:06:22 -05:00
clayjohn
9a1def8da1 Add new StandardMaterial properties to allow users to control FPS-style objects (hands, weapons, tools close to the camera)
Add new shader built in Z_CLIP_SCALE to easily adjust clipping distance to avoid clipping walls etc.

Add fov_override to StandardMaterial3D to easily have a custom FOV for FPS objects

Add IN_SHADOW_PASS built-in to shaders for tweaking materials without impacting shadow maps
2025-05-21 10:16:05 -03:00
Pāvels Nadtočajevs
9f5c57c8c5 Improve SVGTexture lazy loading. 2025-05-21 13:12:41 +03:00
Jamie Pate
c317549587 Fix Heap buffer overflow in Animation::_find()
Fixes #106647
2025-05-20 17:26:58 -07:00
Riteo
408de3c970 Wayland: Fix window fitting in single-window mode
We disabled window fitting in multi-window mode as it was broken due to
the limited data but it should still be enabled for embedded windows.
2025-05-21 00:58:41 +02:00
Rémi Verschelde
25a3c27c41 Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Thaddeus Crews
8bd428599c Merge pull request #106621 from bruvzg/hexbox_bl
Adjust hex code box baseline calculation.
2025-05-20 11:37:23 -05:00
Thaddeus Crews
bc50082685 Merge pull request #106639 from KoBeWi/hide_from_selection
Deselect invisible TreeItems
2025-05-20 11:37:23 -05:00
David Nikdel
5afb64e167 Fix for camera limits
This commit makes 2D camera limits have a well defined behavior for cases when the limits are smaller than the screen rect.

Presently the RIGHT and TOP limit take prescidence simply because they are applied second. This change adjusts behavior to split the difference in cases where both the LEFT/RIGHT or TOP/BOTTOM limits would both apply.
2025-05-20 11:09:47 -04:00
kobewi
c632cf9ffa Deselect invisible TreeItems 2025-05-20 16:58:54 +02:00
Jorge Korgut Junior
77e6d92357 Fix highlighting warning and error issues related to Godot editor.
Fix Issue #104413 : Add a limit of 20 lines of warning highlight otherwise paint the background of the first line only.
Fix Issue #106278 : Extract the logic from clearing and setting background lines from _update_errors() and _update_warnings() to _update_background_text().
Fix Issue #83979 : Added signal for folding/unfolding lines (fold_lines_updated).
Feature: Highlight the folded line using signals connected to _update_background_text() to keep the editor visuals up to date. The background is set in the following priority order: Error, Warning, then Highlight background.
2025-05-20 10:03:39 +02:00
Pāvels Nadtočajevs
7fc4521dd8 Adjust hex code box baseline calculation. 2025-05-20 08:53:40 +03:00
Ricardo Sanchez-Saez
457299449d Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Thaddeus Crews
be3ecaeb3c Merge pull request #106588 from timothyqiu/tree-new-bee
Lazy create menu and slider nodes in `Tree`
2025-05-19 16:22:30 -05:00
Thaddeus Crews
3120d17f62 Merge pull request #104998 from TokageItLab/unregister-spring-from-physics
Move `SpringBoneSimulator3D` registration to the outside of Physics3D's environment
2025-05-19 16:22:25 -05:00
Thaddeus Crews
0f21ccd4b8 Merge pull request #104560 from TokageItLab/bone-name-validation
Add bone name/idx matching validation and lacked virtual methods to `SkeletonModifier3D`
2025-05-19 08:01:40 -05:00
Thaddeus Crews
3cfe5f9ea8 Merge pull request #106565 from roughbits01/line-edit-secret-drag
Fix LineEdit with secret checked reveals the secret when a selection is dragged
2025-05-19 08:01:34 -05:00
Thaddeus Crews
4af69c9d3b Merge pull request #105920 from TokageItLab/fix-rest-update
Fix rest update process by dirty flag to not take into account pose dirty flag in `Skeleton3D`
2025-05-19 08:01:34 -05:00
Thaddeus Crews
70fa7fba19 Merge pull request #101792 from TokageItLab/oneshot-scale
Change `NodeOneShot` fading to uses self delta instead of input delta
2025-05-19 08:01:30 -05:00
Haoyu Qiu
7aa9174bc4 Lazy create menu and slider nodes in Tree 2025-05-19 15:59:48 +08:00
Marwen Azouzi
296bee6bce Fix LineEdit with secret checked reveals the secret when a selection is dragged 2025-05-19 08:52:45 +02:00
Arseny Kapoulkine
6190d412d3 Adjust LOD selection metrics to use attribute error
- Revert meshoptimizer patch; the metric used for LOD selection now
incorporates attribute error
- Since LOD selection is now aware of attribute deviation, we don't
need to use a higher normal weight
- To prevent normal creases from creating input triangles with very
large normal deviation, reduce default normal merge threshold
- Since we now use combined metric to select LODs, we never need LODs
with error>1 as these should not be selected if the mesh is visible.
2025-05-18 17:38:54 +03:00
Silc Lizard (Tokage) Renew
b4ac896c66 Changed NodeOneShot fading so that it does not depend on input delta 2025-05-18 09:27:05 +09:00
Silc Lizard (Tokage) Renew
17d068963f Add bone name/idx matching validation & virtual func to skel Modifier 2025-05-17 06:18:25 +09:00
Thaddeus Crews
34f005d810 Merge pull request #106487 from bruvzg/rtl_fix
Revert #104357 and #106141 to fix Control RTL position
2025-05-16 10:29:03 -05:00
Thaddeus Crews
1e50e05235 Merge pull request #105723 from KoBeWi/sortatron
Add file sort to FileDialog
2025-05-16 07:43:13 -05:00
Pāvels Nadtočajevs
25ae5c8ab4 Revert "Fix #100536: Control set_position resizes offsets/anchors"
This reverts commit ca57fe1db4.
2025-05-16 14:21:18 +03:00
Pāvels Nadtočajevs
4976b38dec Revert "Fix unexpected control position change when left/top offsets not match pos_cache"
This reverts commit 49c7966042.
2025-05-16 14:19:51 +03:00
Thaddeus Crews
e717440dbe Merge pull request #106446 from zeux/simp-colors
Use vertex colors (if present) as attributes during simplification
2025-05-15 14:53:25 -05:00
Thaddeus Crews
da9fb81e1f Merge pull request #89556 from smntic/single-char
Fix words not being selected by endpoints
2025-05-15 14:53:24 -05:00
Arseny Kapoulkine
9a8348cc2c Use vertex colors (if present) as attributes during simplification
When importing meshes with vertex colors, we will now supply them to the
simplifier as attributes with weight=1 (in addition to normals). This will
guide the simplification to preserve regions where vertex colors change.

For this change to take full effect, it is also necessary to respect the
full error when selecting LODs; this change does not do that yet, so there
are going to still be cases where vertex colors change abruptly during LOD
switch in a visible manner.
2025-05-15 21:48:12 +03:00
Thaddeus Crews
5538850d87 Core: Convert Pair/KeyValue to constexpr 2025-05-15 10:37:41 -05:00
Thaddeus Crews
f3e0005266 Merge pull request #105547 from KoBeWi/default_ok_ok
Improve default OK text in AcceptDialog
2025-05-15 10:22:23 -05:00
Thaddeus Crews
be33a05a1e Merge pull request #106430 from timothyqiu/tree-new-bee
Cleanup header includes in Tree
2025-05-15 10:22:19 -05:00
kobewi
33dcd7a6d9 Add file sort to FileDialog 2025-05-15 13:23:38 +02:00
Haoyu Qiu
88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
kobewi
076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Danil Alexeev
decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +03:00
Thaddeus Crews
8b4dd7a34e Merge pull request #105724 from dugramen/recovery/split-commit
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00