Commit Graph

698 Commits

Author SHA1 Message Date
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
Thaddeus Crews 3c871084f9 Merge pull request #109446 from aaronfranke/gltf-handle-image-enum
GLTF: Make handle binary image mode enum type-safe
2025-11-11 16:07:52 -06:00
Thaddeus Crews 0b7627b964 Merge pull request #109845 from nikitalita/gltf-use-orm-texture
GLTF export: use ORM texture for occlusion/metallicRoughnessTexture if it exists
2025-11-04 16:32:27 -06:00
Aaron Franke a5424c321e GLTF: Make handle binary image mode enum type-safe 2025-11-04 10:42:11 -08:00
nikitalita ec9711531d GLTF export: use ORM texture for occlusion/metallicRoughnessTexture if it exists 2025-11-02 12:49:44 -08:00
Rémi Verschelde d23401b2be Merge pull request #107855 from aaronfranke/scene-import-no-singleton
Remove ResourceImporterScene singletons in favor of local usage
2025-11-01 19:04:46 +01:00
Thaddeus Crews ae9732139a Merge pull request #109433 from KoBeWi/hastension
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
Aaron Franke 6c516a24e2 Remove ResourceImporterScene singletons in favor of local usage 2025-10-31 07:13:00 -07:00
Aaron Franke 7c55e9e749 GLTF: Don't serialize empty material extensions 2025-10-28 15:19:45 -07:00
Thaddeus Crews 40e3ac84bc Merge pull request #107672 from 2frac/gpu_instances_blender_option
Add checkbox for blender's "GPU Instances" option for exporting GLTF
2025-10-27 10:01:37 -05:00
bfrac 40fcf5ee3e Added checkbox for blender's "GPU Instances" option for exporting GLTF 2025-10-25 15:07:54 +03:00
Aaron Franke 3c5df91a90 Use ProjectSettings functions instead of hard-coded folder name in tests 2025-10-24 20:24:50 -07:00
kobewi 33ccc5110e Remove side menu functionality in EditorFileDialog 2025-10-22 12:29:26 +02:00