Commit graph

710 commits

Author SHA1 Message Date
Rémi Verschelde
4bee1639b2
Merge pull request #116789 from aaronfranke/gltf-duplicate-doc-ext
GLTF: Duplicate extensions at the start of the import and export process
2026-03-09 11:49:25 +01:00
Aaron Franke
f20517380d
GLTF: Duplicate extensions at the start of the import and export process 2026-03-07 14:04:04 -08:00
Silc Lizard (Tokage) Renew
73d041dd98 Optimize Animation Resource, Library, Mixer, Player
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-06 16:35:21 -05:00
kit
1800c4782f Fix no GDScript build fails due to no class_db.h 2026-03-05 16:46:23 -05:00
Rémi Verschelde
2dd1f4ef60
Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde
18edfa5245
Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
StarryWorm
3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
727b06a79f
Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde
765362b033
Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde
f332faf46b
Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
StarryWorm
357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews
31817ef2ff
Merge pull request #115690 from nikitalita/gltf-fix-value-track-interpolation
GLTF: fix value track interpolation
2026-02-24 09:29:28 -06:00
Thaddeus Crews
5482b9e89e
Tests: Convert test headers to compilation files
• Excludes module tests, as they'd be a more involved process
2026-02-19 07:36:26 -06:00
nikitalita
fc6e8fbd53 GLTF: fix value track interpolation 2026-02-05 10:56:44 +01:00
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
kobewi
f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Thaddeus Crews
15107fda30
Merge pull request #114464 from nikitalita/gltf-buffer-view-encode-fix
GLTF: Zero out padding bytes when encoding buffer views
2026-01-28 12:27:01 -06:00
Aaron Franke
b5c15ed150
Default 3D model importer naming versions to the latest 2026-01-06 12:03:06 -08:00
Rémi Verschelde
4e18022442
Merge pull request #114581 from nikitalita/gltf-fix-animation-track-path
GLTF: Fix getting animation track path
2026-01-05 11:45:31 +01:00
nikitalita
33ce7441f8 GLTF: fix getting animation track path 2026-01-03 15:51:12 -08:00
Rémi Verschelde
f2badb47f1
Merge pull request #114354 from nikitalita/gltf-dupe-images
GLTF: Duplicate images during serialization to prevent segfaults
2026-01-01 16:47:15 +01:00
nikitalita
72f13e0593 GLTF: zero out padding bytes when encoding buffer views 2025-12-30 18:51:18 -08:00
nikitalita
595807acfb GLTF: dupe images during serialization to prevent segfaults 2025-12-26 12:42:23 -08:00
Manuel Maceira
5d9f5c54ef
GLTF: Fix emissive texture import when emissiveFactor is absent 2025-12-12 16:34:36 -03:00
Thaddeus Crews
202e442671
Merge pull request #113261 from Mickeon/documentation-miscellaneous-oddities-part-7
Fix miscellaneous oddities around the class reference (part 7)
2025-12-03 11:42:23 -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
Rémi Verschelde
fc033ce088
Merge pull request #113245 from aaronfranke/gltf-order-of-operations
GLTF: Fix order of operations for buffers and accessors
2025-12-01 11:49:20 +01:00
Micky
4dec66859e Fix miscellaneous oddities around the class reference (part 7) 2025-11-28 18:19:45 +01:00
Aaron Franke
342088ca31
GLTF: Use const Vector internally instead of TypedArray copies 2025-11-27 23:08:42 -08:00
Aaron Franke
1eb4972a5d
GLTF: Fix order of operations for buffers and accessors 2025-11-27 09:06:14 -08:00
Aaron Franke
68716b6795
Allow converting from Mesh to ImporterMesh 2025-11-26 11:13:39 -08:00
Lukas Tenbrink
0f047944e4 Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
2025-11-24 23:03:22 +01:00
Thaddeus Crews
dfc38d2a3f
Merge pull request #94873 from kroketio/blender-exitcode
blender/import: correct exit code on Python exception
2025-11-19 11:04:06 -06:00
Thaddeus Crews
68410acc61
Merge pull request #111613 from aaronfranke/gltf-obj-model-components
GLTF: Determine the component type when encoding object model properties
2025-11-17 10:57:03 -06:00
Thaddeus Crews
436853de2a
Merge pull request #112852 from aaronp64/gltf_texture_transform_keys
Check if scale/offset values are provided in gltf `KHR_texture_transform`
2025-11-17 10:56:54 -06:00
Thaddeus Crews
42f06f6d4d
Merge pull request #108170 from aaronfranke/test-ps-path-func
Use ProjectSettings path functions instead of hard-coded folder names in tests
2025-11-17 10:56:31 -06:00
aaronp64
5c2d12dea3 Check if scale/offset values are provided in gltf KHR_texture_transform
Update GLTFDocument to check if scale/offset values exist when reading KHR_texture_transform extension
2025-11-16 12:13:02 -05:00
Aaron Franke
e9bfc5a346
GLTF: Determine the component type when encoding object model properties 2025-11-14 18:15:59 -08:00
Thaddeus Crews
aa248bfedd
Merge pull request #111612 from aaronfranke/gltf-accessor-min-max-int
GLTF: Write integer min/max for integer accessors
2025-11-14 14:23:19 -06:00
Thaddeus Crews
8ff0683def
Merge pull request #110949 from aaronfranke/const-ref-param-gltf
Use const ref parameters in the GLTF module
2025-11-14 14:23:08 -06:00
Thaddeus Crews
0d66b2a9cf
Merge pull request #109103 from aaronfranke/gltf-accessor-decode
GLTF: Move accessor decoding functions to GLTFAccessor
2025-11-14 14:22:40 -06:00
Thaddeus Crews
61a1575807
Merge pull request #112137 from aaronfranke/gltf-empty-mat-dict
GLTF: Don't serialize empty material extensions
2025-11-14 14:22:31 -06:00
Aaron Franke
9d0b391d6c
GLTF: Move accessor decoding functions to GLTFAccessor 2025-11-14 07:05:04 -08:00
Aaron Franke
dcb6431c01
Use const ref parameters in the GLTF module 2025-11-13 18:19:26 -08:00
Aaron Franke
23ed730e3f
GLTF: Write integer min/max for integer accessors 2025-11-13 18:05:54 -08:00
Thaddeus Crews
12cdb66e33
Merge pull request #108853 from aaronfranke/gltf-accessor
GLTF: Move accessor encoding functions to GLTFAccessor
2025-11-13 12:33:38 -06:00