1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00
Commit Graph

4486 Commits

Author SHA1 Message Date
Thaddeus Crews
f810c74c19 Merge pull request #104221 from Teschnique/fix-issue-100590
Fix tangent baking for curves when cubic derivatives are 0
2025-03-24 10:01:02 -05:00
Thaddeus Crews
f09ee0171a Style: Begin integrating simple .clangd fixes 2025-03-22 13:24:35 -05:00
Teschnique
a6dc345415 Fix tangent baking for curves where the derivative evaluates to 0 due to
collinear control points.
2025-03-21 23:02:24 -07:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Rémi Verschelde
53749174a3 Merge pull request #103607 from dugramen/stylebox-fix-overlaps
StyleBoxFlat: Fix glitchy overlapping shapes
2025-03-19 12:26:45 +01:00
Rémi Verschelde
ac052560e5 Merge pull request #100652 from DeeJayLSP/wav-resampled
`AudioStreamPlaybackWAV`: Inherit from `Resampled`
2025-03-19 12:26:13 +01:00
wareya
ccfbdf2bb2 AudioStreamPlaybackWAV: inherit from Resampled
Co-authored-by: DeeJayLSP <djlsp@proton.me>
2025-03-17 18:42:12 -03:00
Thaddeus Crews
ea62170dac Core: Add constexpr constructors/operators to math structs
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 -05:00
Thaddeus Crews
bee411abfa Merge pull request #103886 from maxpiepenbrink/fix-alpha-for-visual-shaders
Fix missing alpha input for visual shaders
2025-03-17 10:52:22 -05:00
dugramen
c95166c998 StyleBoxFlat scale down corners when oveflowing to prevent glitchy overlapping shapes. 2025-03-15 19:55:48 -04:00
Lukas Tenbrink
f4de2cd22a Use resize_zeroed instead of resize then fill(0) in several places. 2025-03-14 12:09:39 +01:00
Thaddeus Crews
c1b7865ae9 Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Thaddeus Crews
0cc7e2c27a Merge pull request #95821 from anvilfolk/cache-gd-docs
Scripting: Fix script docs not being searchable without manually recompiling scripts
2025-03-13 08:57:40 -05:00
Aaron Franke
97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
ocean
72045c8306 Scripting: Add script documentation cache to project
This PR adds a script documentation cache in the project folder.
It is loaded at alongside native documentation caches. This makes
scripts fully accessible through Search Help, including their
members, etc, right from project start, without having to compile
every single script.

Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-03-12 13:44:41 -04:00
Yufeng Ying
bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
Max Piepenbrink
b28800e580 Include alpha in visual shader light function inputs
Lack of access to the alpha accumulator makes some effects that are sensitive to lighting impossible with the visual shader graph. This is an easy fix thankfully as it simply just wasn't exposed.
2025-03-11 20:57:03 -07:00
kobewi
c2813b902c Add editor setting for default animation step 2025-03-11 23:16:27 +01:00
Thaddeus Crews
9ef22c227a Merge pull request #96296 from aryan-11825114/fix-curve-edit-set-point-pos
Fix `changed` signal emission in `Curve::set_point_offset`
2025-03-10 10:01:16 -05:00
aryan-11825114
cd71f97209 fix changed signal emission in Curve::set_point_offset 2025-03-10 17:50:05 +05:30
A Thousand Ships
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
A Thousand Ships
5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Thaddeus Crews
113fc5a647 Merge pull request #102648 from bruvzg/el_force
Expose `OVERRUN_ENFORCE_ELLIPSIS` flag to the controls.
2025-03-05 12:07:55 -06:00
Rémi Verschelde
77dc8320e9 Merge pull request #103320 from akien-mga/packed-scene-dnp-base
PackedScene: Use ObjectID for DeferredNodePathProperties base
2025-03-04 01:00:55 +01:00
Rémi Verschelde
b408ce7a64 Merge pull request #103121 from OhiraKyou/fix-gpu-particle-zero-scale
Fix GPU particles not emitting at some configured rates when scale curve is zero
2025-03-04 01:00:43 +01:00
Evan Todd
87efa4d210 Fix particle jitter when scene tree is paused. 2025-02-27 08:40:40 -08:00
Rémi Verschelde
dbdd8a2db9 PackedScene: Use ObjectID for DeferredNodePathProperties base
Help do proper error handling and avoid a crash.

Works around #103263.
2025-02-26 14:40:14 +01:00
OhiraKyou
8df75953ec Fix GPU particles not emitting at some amounts when scale curve is zero 2025-02-25 19:36:08 -05:00
Pāvels Nadtočajevs
912b52a6a5 Expose OVERRUN_ENFORCE_ELLIPSIS flag to the controls. 2025-02-10 08:41:31 +02:00
Thaddeus Crews
568d6286e0 Merge pull request #102132 from Ivorforce/optimize-font-internal-cow
Optimize `Font` calculations by avoiding unnecessary copy-on-write.
2025-02-07 14:50:41 -06:00
Pāvels Nadtočajevs
7da0767f35 [TextEdit] Update syntax highlighting when IME composition string is updated. 2025-02-07 11:54:56 +02:00
Thaddeus Crews
0d14ae58b0 Merge pull request #101109 from clayjohn/multimesh-err-msg
Add explicit error messages to Multimesh functions
2025-02-05 18:22:21 -06:00
clayjohn
e1af7b65b2 Add explicit error messages to Multimesh error functions to make errors easier to understand.
Previously the RenderingServer errors filtered up to end users, but they are unclear and not helpful
2025-02-05 23:48:01 +01:00
Pāvels Nadtočajevs
b50d9742c2 Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
bruvzg
3be46a69c4 Fix uppercase B and X parsing in the integer literals. 2025-02-05 16:02:06 +02:00
Lukas Tenbrink
f52c9e342c Optimize Font calculations by avoiding unnecessary copy-on-write. 2025-01-28 18:15:59 +01:00
Thaddeus Crews
e62be79947 Merge pull request #100350 from Namey5/visualshader-worldposfromdepth-fix
Fix space transformations in WorldPositionFromDepth visual shader node generation
2025-01-22 16:32:26 -06:00
Thaddeus Crews
bacf8d198d Merge pull request #101014 from BattyBovine/cs3d-separation-ray-fix-2
Prevent errors when drawing debug meshes with no mesh data.
2025-01-20 16:25:48 -06:00
Thaddeus Crews
cabd792995 Merge pull request #101796 from Chaosus/vs_fix_fresnel_preview_bug
Fix visual shader error when opening a Fresnel node preview
2025-01-20 16:25:47 -06:00
Thaddeus Crews
0cbcfb3cd6 Merge pull request #101648 from aaronp64/varyingsetter_global_per_node
Generate global code for `VisualShader` nodes that connect to `VaryingSetters`
2025-01-20 16:25:43 -06:00
Chaosus
8a7c9aa452 Fix visual shader error when opening a Fresnel node preview 2025-01-19 14:47:22 +03:00
Mika Viskari
dedae63617 Add property guards to shape 2D's 2025-01-18 13:37:46 +02:00
aaronp64
c4db6687f9 Generate global code for VisualShader nodes that connect to VaryingSetters
Updated visual shader code to call generate_global_per_node() for nodes connected to VaryingSetter nodes, even if they don't connect directly to Output.
2025-01-16 15:14:12 -05:00
Rémi Verschelde
1e1f54e954 Merge pull request #100050 from YeldhamDev/sub_emitter_at_start
Add "At Start" mode for sub-emitter particles
2025-01-14 18:29:20 +01:00
chocola-mint
f434c75dbf Add has_custom_data() to TileData 2025-01-13 21:25:49 +09:00
Rémi Verschelde
5be039761f Merge pull request #101273 from Nazarwadim/use_AHashMap_in_SurfaceTool
Use `AHashMap` for `SurfaceTool`
2025-01-10 23:06:12 +01:00
Rémi Verschelde
765c6ab5f8 Merge pull request #101282 from Nazarwadim/use_LocalVector_for_Curve_and_Gradient
Use `LocalVector` for `Curve` and `Gradient`
2025-01-09 20:51:30 +01:00
Rémi Verschelde
0257995616 Merge pull request #101354 from Ivorforce/animation-clear-template
Replace `Animation::_clear()` with explicit `.clear()` calls.
2025-01-09 17:07:27 +01:00
Lukas Tenbrink
dcb4e5b22a Replace Animation::_clear() with explicit .clear() calls. 2025-01-09 16:43:57 +01:00