2
0
mirror of https://github.com/godotengine/godot.git synced 2025-04-07 00:44:24 +08:00

4508 Commits

Author SHA1 Message Date
Thaddeus Crews
cb8cb95bdd
Merge pull request from beicause/pctex-fix-create-from-image
PortableCompressedTexture: Fix create compressed format from image
2025-04-03 16:50:13 -05:00
LuoZhihao
4be432cbec PortableCompressedTexture: Fix create compressed format from image 2025-04-04 03:35:32 +08:00
Aaron Franke
2800948d61
Organize ifdefs for disabling navigation, physics, and XR 2025-04-02 08:24:24 -07:00
Yufeng Ying
7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Michael Alexsander
556933306a
Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
Thaddeus Crews
d52b84e472
Merge pull request from aaronfranke/geometry-segment
Directly use segment points in Geometry2D/3D function parameters
2025-04-01 08:01:34 -05:00
Pāvels Nadtočajevs
19f360d65a
Add font import flag to toggle modulation of colored glyphs. 2025-04-01 13:36:10 +03:00
Thaddeus Crews
8f6bb119f4
Merge pull request from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Aaron Franke
c1acc839a8
Directly use segment points in Geometry2D/3D function parameters 2025-03-30 16:25:59 -07:00
Thaddeus Crews
780cf03051
Merge pull request from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Rémi Verschelde
e8bc75f056
Merge pull request from YeldhamDev/build_remove_physics
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Rémi Verschelde
3b90bb56ad
Merge pull request from KoBeWi/stdArrayList
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Michael Alexsander
5ad414d046
Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
Yyf2333
22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Lukas Tenbrink
ffa6ef220b Use append_ instead of parse_ for String methods. 2025-03-27 17:51:02 +01:00
kobewi
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Thaddeus Crews
68d71d6c8c
Merge pull request from Ivorforce/cameratexture-nomonitor
Avoid doctools attempting to query the `CameraServer` to infer a default value for `camera_is_active`
2025-03-25 11:09:05 -05:00
Thaddeus Crews
c5e36a973c
Merge pull request from mihe/scene-state-binds
Bind `SceneState` methods `get_path` and `get_base_scene_state`
2025-03-25 11:09:00 -05:00
Lukas Tenbrink
770267b337 Set camera_is_active to false for CameraTexture to avoid doctool querying it to determine the default automatically. 2025-03-25 02:04:39 +01:00
Thaddeus Crews
f810c74c19
Merge pull request 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 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 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 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
Mikael Hermansson
a71f670d7d Bind SceneState methods get_path and get_base_scene_state 2025-03-14 13:04:26 +01: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 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 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 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 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 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 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 .
2025-02-26 14:40:14 +01:00