1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

4840 Commits

Author SHA1 Message Date
Aaron Franke
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Aaron Franke
9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Thaddeus Crews
b9010edcfa Merge pull request #110951 from aaronfranke/const-arr-ref-text-bidi
Use const Array ref in `set_structured_text_bidi_override_options`
2025-09-30 18:35:20 -05:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Kaleb Reid
c79fe58939 Always show settings to enable DOF near + far 2025-09-29 22:29:24 -07:00
Aaron Franke
754d49ac81 Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
Aaron Franke
1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
Thaddeus Crews
c32c2606f4 Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
A Thousand Ships
bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Arseny Kapoulkine
ccbece58d8 Enable component pruning during simplification
In addition to the regular edge collapse, we now allow the simplifier to
remove small isolated components. Components that are removed are below
the error threshold in size and as such should not noticeably contribute
to the overall rendering of the object.

This helps simplify topologically complex but small parts of larger
meshes and more comfortably reach the LOD targets.

In some cases, pruning can cause the last LOD to shrink to 0 triangles
which may prevent a slightly larger LOD from being used at the maximum
distance; in this case we retry simplification without pruning once.
2025-09-24 22:23:55 -07:00
Clay John
6e4e8072e1 Merge pull request #110027 from zeux/lod-iter
Switch LOD generation to use iterative simplification
2025-09-24 20:57:41 -07:00
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Thaddeus Crews
7e5c6890b2 Merge pull request #110298 from 0xcafeb33f/fix-skeleton-mirror
Fix Skeleton2D TwoBoneIK and LookAt mirroring
2025-09-24 09:59:13 -05:00
Thaddeus Crews
78b743cf4a Merge pull request #110832 from Ivorforce/is-class-to-derives-from
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Allen Pestaluky
3101d75634 Fix glow intensity not showing in compatibility renderer when blend mode is set to mix. 2025-09-23 17:45:35 -04:00
Arseny Kapoulkine
e40436d527 Switch LOD generation to use iterative simplification
Instead of simplifying every LOD from the original down to an
increasing number of triangles, we simplify each LOD from the previous
LOD and stop when the simplification can't proceed further.

This has a few benefits:

- It's significantly faster; using sparse flag helps ensure that
  subsequent simplifications after the first one are increasingly
  cheaper.

- It results in higher quality attributes on generated LODs; attribute
  quadrics reduce the quality of attribute preservation the more they
  are accumulated, so recomputing them from intermediate geometry helps.

- It results in monotonic appearance: if a feature is reduced in a
  higher LOD, it will stay reduced or get reduced more significantly in
  lower LODs. This is not a significant problem right now, but can be
  helpful to ensure if the number of LODs increases or some newer
  features get enabled.
2025-09-23 13:28:45 -07:00
Thaddeus Crews
96d9303b76 Merge pull request #109992 from zeux/simplify-regularize
Use regularization flag for LODs of deformable objects to improve appearance post deformation
2025-09-23 14:51:48 -05:00
Thaddeus Crews
e6d25c0f73 Merge pull request #110819 from KoBeWi/overrun_with_dupes
Remove overrun code duplication
2025-09-23 14:51:45 -05:00
Lukas Tenbrink
8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
Thaddeus Crews
685c7e92e5 Merge pull request #100437 from KoBeWi/ruaninstancequestionmark
Add `is_instance()` helper method to Node
2025-09-23 12:08:48 -05:00
Thaddeus Crews
9708b088f9 Merge pull request #110249 from beicause/fix-compositor-effects-init-callback
Fix `CompositorEffect` not setting post-transparent callback on init
2025-09-23 12:08:43 -05:00
kobewi
a57fef9558 Remove overrun code duplication 2025-09-23 16:08:46 +02:00
Thaddeus Crews
ba0da90ba6 Merge pull request #108254 from KoBeWi/ENABLE_HINT_GROUP_PROPERTY_HINT
Add more `PROPERTY_HINT_GROUP_ENABLE` uses
2025-09-22 08:50:12 -05:00
Thaddeus Crews
999b94cc39 Merge pull request #109012 from Lielay9/fix_gradient_color
Round gradient colors
2025-09-22 08:50:08 -05:00
Haoyu Qiu
172c80df67 Make text-related nodes translation domain aware
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
kobewi
98a4b46b6a Add more PROPERTY_HINT_GROUP_ENABLE uses 2025-09-20 21:11:12 +02:00
Arseny Kapoulkine
92596e3f17 Regularize deformable objects to fix excessive errors post deformation
This significantly improves LOD quality for skinned objects, especially
if the skinned object geometry is very simple (e.g. planar or
cylindrical) in bind pose.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-09-19 08:45:57 -07:00
kobewi
d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews
2753d333f6 Merge pull request #109375 from ColinSORourke/VisualShaderEmbedHandling
Fix VisualShader Conversion failing with subresources
2025-09-19 09:17:10 -05:00
Thaddeus Crews
9b96eaaf80 Merge pull request #107989 from Jojo-1000/docs-add-required-qualifier
Documentation: Add missing required qualifier for various classes
2025-09-19 09:17:06 -05:00
Thaddeus Crews
3dbb193ece Merge pull request #109990 from zeux/meshopt-0.25
Update meshoptimizer to v0.25
2025-09-18 21:02:27 -05:00
Colin O'Rourke
c4559c02de VisualShader Conversion fails with Embeds
Potentially resolves https://github.com/godotengine/godot/issues/101375

VisualShader now has a has_node_embeds function that runs through it's child nodes to find embedded resources via object properties. Conversion plugin uses this function to catch the error.
2025-09-18 14:35:30 -07:00
Lukas Tenbrink
0be2a77156 Fix Dictionary::operator[] from C++ accidentally modifying const dictionaries.
Fix `AudioStreamWav` inserting keys into the input dictionary.
2025-09-18 21:17:42 +02:00
Thaddeus Crews
468ad87a37 Merge pull request #107596 from DeeJayLSP/safe-wav-load
Use 64-bit offset/loop points in `AudioStreamWAV`
2025-09-18 12:42:22 -05:00
Thaddeus Crews
3ad1642b2e Merge pull request #110410 from BastiaanOlij/fix_stereo_label3d_fixed_size
Fix fixed size flag on StandardMaterial3D when rendering in stereo
2025-09-18 12:42:21 -05:00
DeeJayLSP
7b5c53d996 Use 64-bit offset/loop points in AudioStreamWAV 2025-09-17 20:39:21 -03:00
Thaddeus Crews
2557b0da9f Merge pull request #101285 from Nazarwadim/use_LocalVector_in_animation
Use `LocalVector` in `Animation`
2025-09-16 20:28:52 -05:00
Lukas Tenbrink
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Thaddeus Crews
de572675e0 Merge pull request #109369 from ColinSORourke/MaterialConversionErrorFix
Material Conversion Error Handling
2025-09-16 09:48:59 -05:00
DeeJayLSP
af5a81faf8 Add one padding frame to QOA buffer for short streams 2025-09-15 10:27:36 -03:00
Ryan
040ff854e0 Fix AudioStreamPolyphonic to honor AudioStreamPlayer.pitch_scale 2025-09-14 23:41:03 -04:00
Bastiaan Olij
748f35ccb8 Fix fixed size flag on StandardMaterial3D when rendering in stereo 2025-09-11 20:53:19 +10:00
cafebeef
bc0eba5296 Fixed Skeleton2D TwoBoneIK and LookAt mirroring
Co-authored-by: thiagola92 <thiagola92@gmail.com>
2025-09-06 16:20:24 -05:00
Mounir Tohami
0d32849565 Fix Resource deep duplicate sets image properties with invalid resources. 2025-09-05 22:16:20 +03:00
Luo Zhihao
d9d796618d Fix CompositorEffect not setting post-transparent callback on init 2025-09-04 19:16:00 +08:00
Pāvels Nadtočajevs
f766e401db [MSDF] Fix outline bleed out at small sizes. 2025-08-31 23:35:33 +03:00
Haoyu Qiu
e5373c5cb0 Validate theme type name input in Add Theme Type dialog 2025-08-28 15:47:37 +08:00
Aaron Franke
84eb90b790 Allow attaching scripts to nodes with previously-non-abstract scripts 2025-08-27 11:14:59 -07:00
Arseny Kapoulkine
90ff46c292 Update meshoptimizer to v0.25
Also expose new flags as SurfaceTool enums for future use
2025-08-26 10:19:48 -07:00
Thaddeus Crews
61c6d40c63 Merge pull request #109052 from Squamto/108905
Fix overflowing render priority for stencil mode outline and xray
2025-08-21 06:24:27 -05:00