Commit graph

4871 commits

Author SHA1 Message Date
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Rémi Verschelde
63c78e684b
Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Thaddeus Crews
e36d624a30
Merge pull request #115607 from Ivorforce/sunless-sky
Remove `sky.h` include from `environment.h`, to speed up compile time.
2026-01-30 09:32:14 -06:00
Thaddeus Crews
fbbb8a921b
Merge pull request #115309 from Ivorforce/localvector-explicit-copy
Change copy constructor of `LocalVector` from implicit to explicit
2026-01-30 09:32:07 -06:00
Thaddeus Crews
fd6e80d4e9
Merge pull request #105701 from ColinSORourke/DrawableTexture
Implement DrawableTextures
2026-01-30 09:32:05 -06:00
Lukas Tenbrink
1d840aae3a Remove sky.h include from environment.h, to speed up compile time. 2026-01-30 00:05:55 +01:00
kobewi
f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Lukas Tenbrink
72b281d41e Remove a few includes of curve.h, texture.h and resource_loader.h + resource_saver.h. 2026-01-29 15:59:29 +01:00
Colin O'Rourke
63f6e3691c DrawableTextures
Implementing DrawableTextures based on: https://github.com/godotengine/godot-proposals/issues/7379
2026-01-29 01:16:06 -08:00
Thaddeus Crews
07a2c75ec4
Merge pull request #115326 from Chaosus/vs_spatial_all_in_shadow_pass
[VisualShader] Add `in_shadow_pass` spatial input
2026-01-27 09:04:23 -06:00
Thaddeus Crews
7f31ae1564
Merge pull request #115325 from Chaosus/vs_spatial_light_specular_amount
[VisualShader] Add `specular_amount` spatial light input
2026-01-27 09:04:22 -06:00
Thaddeus Crews
861d7f5263
Merge pull request #115021 from dfdfg42/fix-immediate-mesh-vertex-2d-reset
Reset `vertex_2d` flag when starting a new surface in ImmediateMesh
2026-01-26 13:14:25 -06:00
Thaddeus Crews
0f8a1c9db2
Merge pull request #115147 from BastiaanOlij/fix_multiview_fixed_size
Apply fixed size properly for mono/stereo rendering.
2026-01-26 13:14:23 -06:00
Chaosus
f91f2861cf [VisualShader] Add in_shadow_pass spatial input 2026-01-24 12:38:36 +03:00
Chaosus
4f0a0367fd [VisualShader] Add specular_amount spatial light input 2026-01-24 12:35:33 +03:00
Lukas Tenbrink
63272b23ef Make LocalVector copy constructor explicit. 2026-01-23 20:52:03 +01:00
kobewi
ff89f649fa Restore period in loaded node paths 2026-01-22 01:40:28 +01:00
Bastiaan Olij
aac883849e Apply fixed size properly for mono/stereo rendering. 2026-01-20 23:19:45 +11:00
Rémi Verschelde
f0fa171ec2
Revert "Fix fixed size flag on StandardMaterial3D when rendering in stereo"
This reverts commit 748f35ccb8.

Fixes #114995.

This will be redone for 4.7 / possibly 4.6.1 with a more involved solution.
2026-01-20 09:10:13 +01:00
Rémi Verschelde
a4a26762f1
Merge pull request #114328 from kleonc/node_duplicating_signal_source_node_fix
`CONNECT_APPEND_SOURCE_OBJECT` on signal emission
2026-01-20 00:22:32 +01:00
dfdfg42
2a7a312766 Reset vertex_2d flag when starting a new surface in ImmediateMesh
Fixes #115005

The vertex_2d flag in active_surface_data was not being reset when surface_begin() was called, causing misleading error messages when mixing 2D and 3D vertices across different surfaces.
2026-01-17 07:32:51 +09:00
kleonc
edd06075e3 CONNECT_APPEND_SOURCE_OBJECT on signal emission 2026-01-14 14:59:57 +01:00
Joshua Bordelon
ccd664974a Fix animation library serialization compatibility for 4.5 projects
When opening a Godot 4.5 project in 4.6 and saving scenes with editable
children of imported scenes (e.g., .blend files), all animation data was
incorrectly being saved to the .tscn file.

This happened because the AnimationLibrary serialization format changed
between 4.5 and 4.6:
- 4.5: 'libraries' as a single Dictionary property
- 4.6: 'libraries/<name>' as separate properties per library

When the scene packer looked for 'libraries/<name>' in old imported
scenes, it didn't find them (only 'libraries' existed), causing all
animation data to appear as 'overridden' and be saved.

This fix adds backwards compatibility in SceneState::get_property_value()
to check for the old Dictionary format when looking up 'libraries/<name>'
properties. It only applies to nodes that inherit from AnimationMixer,
allowing property comparison to work correctly and preventing animation
data from being duplicated into .tscn files.

Fixes #113037
2026-01-12 20:32:07 -06:00
kleonc
5a275eae38 Preserve winding order for transformed tiles' navigation polygons 2026-01-08 19:41:56 +01:00
Rémi Verschelde
3caa11c75d
Merge pull request #114032 from syntaxerror247/editor-settings-reg
Fix editor settings parsing regression on Android
2026-01-07 01:41:36 +01:00
Thaddeus Crews
e40cd8f580
Merge pull request #114412 from bruvzg/bin_bm
Fix binary BMFont flags handling.
2026-01-05 12:06:35 -06:00
Rémi Verschelde
9c880b59ac
Merge pull request #114385 from Meorge/bugfix/tileset-collision-polygon-points-error
Fix wording in TileSet collision polygon error message
2026-01-05 11:45:04 +01:00
Silc Lizard (Tokage) Renew
261ab6092b Change radius_range to angle to indicate hole of JointLimitationCone3D 2025-12-31 00:53:57 +09:00
Pāvels Nadtočajevs
30dc68dd93
Fix binary BMFont flags handling. 2025-12-29 08:06:51 +02:00
Malcolm Anderson
4eca0fbbc3 Fix wording in TileSet collision polygon error message 2025-12-27 16:04:16 -08:00
Rémi Verschelde
5d89816d93
Merge pull request #112661 from bruvzg/lang_shape
Improve language selection when shaping text.
2025-12-18 14:23:42 +01:00
Pāvels Nadtočajevs
997f326b58
Improve language selection when shaping text. 2025-12-18 09:05:07 +02:00
Hugo Locurcio
3e7eb5c9dc Tweak property hints for SoftBody3D mass and SkeletonModification2DJiggle
Masses in Godot are specified in kilograms.
This also fixes the SoftBody3D mass being limited to increments of 1 kg,
now allowing adjustments to the nearest gram.
2025-12-18 02:28:13 +01:00
Thaddeus Crews
76972d691d
Merge pull request #113908 from bruvzg/ts_dup_fix
[TextServer] Fix `duplicated` losing span info, and RID leak.
2025-12-15 17:40:53 -06:00
Anish Kumar
326217dc0f Fix editor settings parsing regression on Android 2025-12-15 17:41:37 +05:30
Pāvels Nadtočajevs
8fa484f331
[TextServer] Fix duplicated losing span info, and RID leak. 2025-12-11 21:50:22 +02:00
Thaddeus Crews
289321ad1e
Merge pull request #113728 from LiveTrower/fix-refract-node
VisualShader: Fix the eta input from the refract node
2025-12-11 12:12:38 -06:00
kleonc
4619b2dffa Fix get_scene_tile_display_placeholder erroring for transformed scene tiles 2025-12-10 18:32:46 +01:00
LiveTrower
7357bd0138 fix-refract-node 2025-12-07 15:24:55 -06:00
Logan Detrick
42e60c38dc Remove unused private variables in godot/scene 2025-12-07 03:46:26 -08:00
aXu-AP
c6021f1e5b
Change curve range for particle multipliers
Fixes #91404
Curves are applied as a multiplier, so ranges [-1, 1] or [0, 1] make much more sense than ranges like [-360, 360] or [0, 100]. The actual range is selected with separate min and max parameters.
2025-12-03 20:47:40 -06:00
Thaddeus Crews
8105ff7ac7
Merge pull request #106940 from allenwp/agx-add-white-contrast
Add `white`, `contrast`, and future HDR support to the AgX tonemapper.
2025-12-03 11:42:29 -06:00
Allen Pestaluky
628df323e2 Add agx_white, agx_contrast and HDR support to the AgX tonemapper.
Also optimize all tonemappers to perform less calculations per-pixel.

Note: unlike `white`, `agx_white` is limited to a minimum of `2.0` and defaults to `16.29`. When using a RGB10A2 render buffer, `agx_white` will be ignored and a value of `2.0` will be used instead to ensure good behavior on the Mobile renderer.
2025-12-03 09:01:39 -05:00
David Snopek
308f23f21d Synchronize the names for RequiredParam<T> arguments in header files 2025-12-03 04:14:52 -06:00
Thaddeus Crews
5947dff88a
Merge pull request #103352 from MartinDelille/remove_load_steps
Remove `load_steps` from `resource_format_text.cpp`
2025-12-02 20:43:00 -06:00
Thaddeus Crews
9f76aa3df5
Merge pull request #113282 from dsnopek/required-ptr-get-out-there
Use `RequiredParam`/`RequiredResult` in some high value places
2025-12-02 20:42:53 -06:00
Thaddeus Crews
dec0b22f7d
Merge pull request #64487 from Rindbee/fix-instantiated-scene-duplicate
Fix resource shared when duplicating an instanced scene
2025-12-02 11:52:13 -06:00
Thaddeus Crews
1577061e3d
Merge pull request #113202 from aaronfranke/importer-mesh-convert
Allow converting from Mesh to ImporterMesh
2025-12-02 11:52:03 -06:00
David Snopek
fc92ce3e7f Use RequiredParam/RequiredResult in some high value places 2025-12-02 10:44:12 -06:00
Martin Delille
67a1c8f4ef
Remove load_steps from resource_format_text.cpp 2025-12-02 17:41:57 +01:00