Commit Graph

633 Commits

Author SHA1 Message Date
9a5d6d1049 Merge pull request #111389 from nikitalita/gltf-fix-export-prop
Fix segfault in GLTFDocument::export_object_model_property
2025-10-08 13:56:42 -05:00
bca701f0eb fix segfault in GLTFDocument::export_object_model_property 2025-10-07 18:42:54 -07:00
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
a238af4d20 Use num_scientific (Grisu2) when stringifying JSON with full precision 2025-09-24 08:21:37 -07:00
e15210b466 Merge pull request #98268 from Calinou/import-export-bake-fps-add-range-hint
Add a property range hint to `bake_fps` in the scene glTF export dialog
2025-09-19 20:54:32 -05:00
1e5b4a1aae Merge pull request #109944 from DanielKinsman/headless-blender-import-hang
Fix hang when importing blender files in headless mode
2025-09-19 20:54:29 -05:00
38d80598f5 Merge pull request #108121 from Repiteo/core/disabled-class-rework
Core: Handle disabled class detection in `ClassDB`
2025-09-17 11:34:16 -05:00
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
e0f17b408b Merge pull request #109685 from nikitalita/fix-gltf-infinite-loop
Fix infinite loop in GLTFDocument::_convert_animation_node_track
2025-08-26 19:01:12 -05:00
555e7ad073 Core: Handle disabled class detection in ClassDB 2025-08-26 09:31:14 -05:00
a001026dbb Update modules/gltf/editor/editor_scene_importer_blend.cpp
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-08-25 22:00:13 +10:00
0cace15d72 better error message 2025-08-25 21:23:44 +10:00
c75a33aa5d Fix hang when importing blender files in headless mode 2025-08-25 11:30:56 +10:00
11a13154de GLTF: Fix minor niche edge case issues with accessors 2025-08-23 00:17:58 -07:00
8ebf8ae23c Merge pull request #109666 from aaronfranke/import-mesh-validate-indices-mult-3
ImporterMesh: Validate triangle indices array size is a multiple of 3
2025-08-18 20:36:49 -05:00
ba92af7d07 ImporterMesh: Validate triangle indices array size is a multiple of 3 2025-08-18 06:36:21 -07:00
32a59bbdf4 Fix infinite loop in GLTFDocument::_convert_animation_node_track 2025-08-17 13:53:35 -07:00
4808c25c2e Fix light values on blend import when using non-physical light units 2025-08-15 21:30:08 +03:00
821fecd933 GLTF: Fix crash reading texture sampler for non-existent texture 2025-08-14 19:25:32 -07:00
cce10e0b22 Merge pull request #109181 from nikitalita/gltf-dedupe-images
Dedupe images during GLTF Export
2025-08-01 11:45:21 -05:00
7fcc7e19f3 Dedupe images during GLTF Export 2025-07-31 17:35:04 -07:00
23accd1606 Tests: Fix unfiltered error output 2025-07-29 14:33:54 -05:00
ad10c6185d GLTF: Fix nasty bug with incorrect buffer indices 2025-07-05 00:00:13 -07:00
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
1301343f42 Improve auto-translation of editor's top & bottom bars
- The main menu
- The run bar
- The update spinner
- The bottom panel buttons
2025-06-18 21:11:32 +08:00
a11a64fbf4 Comments spelling fixes 2025-06-15 01:36:10 +02:00
e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +02:00
c455d81c4c Merge pull request #107352 from aaronfranke/blend-fbx-naming-version
Implement naming version system for FBX and Blend importers like glTF
2025-06-11 11:20:21 +02:00
c80bb1b537 Merge pull request #104025 from huwpascoe/named_placeholder
Add named placeholder to blender import options
2025-06-11 11:20:08 +02:00
a56b3a93d3 Implement naming version system for FBX and Blend importers like glTF 2025-06-10 09:42:54 -07:00
a3daba29dd Allow attaching scripts to nodes in the Advanced Import Settings dialog 2025-06-10 09:35:24 -07:00
3925ca0571 Merge pull request #106537 from aaronfranke/gltf-per-skel-unique
GLTF: Make skeleton bone names unique per-skeleton instead of scene-wide
2025-06-10 12:29:55 +02:00
8350919575 GLTF: Make skeleton bone names unique per-skeleton instead of scene-wide 2025-06-10 02:44:56 -07:00
0972db7b40 GLTF: Use scene root nodes for root nodes, don't include orphan nodes 2025-06-09 15:29:00 -07:00
3cc71ef8b9 Merge pull request #104184 from aaronfranke/gltf-non-joint-leaf
GLTF: Don't collapse non-joint leaf nodes when importing skeletons
2025-06-09 12:31:42 -05:00
258b872a9c Merge pull request #106220 from aaronfranke/gltf64
GLTF: Support 64-bit sizes in glTF import and export
2025-06-09 00:44:27 +02:00
dc85b32a50 GLTF: Don't collapse non-joint leaf nodes when importing skeletons 2025-06-08 14:47:37 -07:00
b05ae3e0bc Merge pull request #107193 from aaronfranke/gltf-align-accessor-buffer
GLTF: Align accessor buffer `byteOffset` to multiple of component size
2025-06-07 00:43:58 +02:00
902e7cc82b GLTF: Don't save unnecessary zero "byteOffset" 2025-06-05 19:08:59 -07:00
968744e17e GLTF: Align accessor buffer byteOffset to multiple of component size 2025-06-05 19:01:12 -07:00
61ff5f1bdd GLTF: Support 64-bit sizes in glTF import and export 2025-06-05 12:40:21 -07:00
5d671accea Merge pull request #106803 from aaronfranke/gltf-no-export-anim-player
GLTF: Don't export AnimationPlayer nodes as glTF nodes
2025-06-05 13:12:16 +02:00
1e82bafa3a Remove redundant info on the enum types used 2025-06-04 08:21:47 +08:00
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
4cb8a0c77e Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call. 2025-05-26 18:35:41 +02:00
528a0a551b GLTF: Don't export AnimationPlayer nodes as glTF nodes 2025-05-25 12:30:51 -07:00
15de1d6c35 Use Grisu2 algorithm in String::num_scientific to fix serializing 2025-05-22 09:13:16 -07:00
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
f4f1471b57 Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00