Commit Graph

726 Commits

Author SHA1 Message Date
Sofox 86faf9c529 Update Blender import to handle more Vertex Color options 2026-04-09 17:56:44 +01:00
Thaddeus Crews 01006b8c91 Merge pull request #117947 from Togira123/fix-unsafe-access-to-dict
glTF: Use safe methods to get data from dictionaries with `get_additional_data`
2026-04-01 18:10:14 -05:00
Thaddeus Crews bf055e3bf6 Merge pull request #117945 from Togira123/fix-importer-mesh-instance-missing-properties
Add missing properties from `ImporterMeshInstance3D` to `MeshInstance3D` in glTF import extension
2026-04-01 18:10:13 -05:00
Thaddeus Crews a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
Togira 64bd19213d glTF: Use safe methods to get data from dictionaries 2026-03-28 22:56:34 +01:00
Togira 1442c6c652 Add missing properties of ImporterMeshInstance3D in glTF importer 2026-03-28 21:49:32 +01:00
StarryWorm d610492fef Separate ResourceFormat* methods from main classes 2026-03-27 07:16:20 -04:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Rémi Verschelde 8415bd7105 Merge pull request #116589 from Sysex89/blend_import
Blender attempts should be incremented to avoid endless loop
2026-03-14 12:15:54 +01:00
kobewi 9a0c0bf757 Remove redundant _has_main_screen() overrides 2026-03-13 13:10:09 +01:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
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
pavlos vasilantonakis e8fe664710 attempts should be incremented to avoid endless loop 2026-02-21 00:09:36 +01: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