Aaron Franke
da9a77ce42
GLTF: Preserve mesh name on export
2025-09-24 20:28:52 -07:00
Aaron Franke
a238af4d20
Use num_scientific (Grisu2) when stringifying JSON with full precision
2025-09-24 08:21:37 -07:00
Thaddeus Crews
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
Thaddeus Crews
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
Thaddeus Crews
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
Lukas Tenbrink
abe3b481ae
Make conversions from `LocalVector` to `Vector` explicit.
2025-09-16 21:41:28 +02:00
Thaddeus Crews
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
Thaddeus Crews
555e7ad073
Core: Handle disabled class detection in ClassDB
2025-08-26 09:31:14 -05:00
Daniel Kinsman
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
Daniel Kinsman
0cace15d72
better error message
2025-08-25 21:23:44 +10:00
Daniel Kinsman
c75a33aa5d
Fix hang when importing blender files in headless mode
2025-08-25 11:30:56 +10:00
Aaron Franke
11a13154de
GLTF: Fix minor niche edge case issues with accessors
2025-08-23 00:17:58 -07:00
Thaddeus Crews
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
Aaron Franke
ba92af7d07
ImporterMesh: Validate triangle indices array size is a multiple of 3
2025-08-18 06:36:21 -07:00
nikitalita
32a59bbdf4
Fix infinite loop in GLTFDocument::_convert_animation_node_track
2025-08-17 13:53:35 -07:00
Jens Pitkanen
4808c25c2e
Fix light values on blend import when using non-physical light units
2025-08-15 21:30:08 +03:00
Aaron Franke
821fecd933
GLTF: Fix crash reading texture sampler for non-existent texture
2025-08-14 19:25:32 -07:00
kobewi
a33ae0be0e
Add has_extension() method to String
2025-08-12 13:15:16 +02:00
Thaddeus Crews
cce10e0b22
Merge pull request #109181 from nikitalita/gltf-dedupe-images
...
Dedupe images during GLTF Export
2025-08-01 11:45:21 -05:00
nikitalita
7fcc7e19f3
Dedupe images during GLTF Export
2025-07-31 17:35:04 -07:00
Thaddeus Crews
23accd1606
Tests: Fix unfiltered error output
2025-07-29 14:33:54 -05:00
Aaron Franke
ad10c6185d
GLTF: Fix nasty bug with incorrect buffer indices
2025-07-05 00:00:13 -07:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Haoyu Qiu
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
Adrien Ufferte
a11a64fbf4
Comments spelling fixes
2025-06-15 01:36:10 +02:00
Lukas Tenbrink
e2931a5c19
Make conversions from `NodePath` to `String` explicit.
2025-06-11 16:50:27 +02:00
Rémi Verschelde
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
Rémi Verschelde
c80bb1b537
Merge pull request #104025 from huwpascoe/named_placeholder
...
Add named placeholder to blender import options
2025-06-11 11:20:08 +02:00
Aaron Franke
a56b3a93d3
Implement naming version system for FBX and Blend importers like glTF
2025-06-10 09:42:54 -07:00
Aaron Franke
a3daba29dd
Allow attaching scripts to nodes in the Advanced Import Settings dialog
2025-06-10 09:35:24 -07:00
Rémi Verschelde
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
Aaron Franke
8350919575
GLTF: Make skeleton bone names unique per-skeleton instead of scene-wide
2025-06-10 02:44:56 -07:00
Aaron Franke
0972db7b40
GLTF: Use scene root nodes for root nodes, don't include orphan nodes
2025-06-09 15:29:00 -07:00
Thaddeus Crews
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
Rémi Verschelde
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
Aaron Franke
dc85b32a50
GLTF: Don't collapse non-joint leaf nodes when importing skeletons
2025-06-08 14:47:37 -07:00
Rémi Verschelde
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
Aaron Franke
902e7cc82b
GLTF: Don't save unnecessary zero "byteOffset"
2025-06-05 19:08:59 -07:00
Aaron Franke
968744e17e
GLTF: Align accessor buffer byteOffset to multiple of component size
2025-06-05 19:01:12 -07:00
Aaron Franke
61ff5f1bdd
GLTF: Support 64-bit sizes in glTF import and export
2025-06-05 12:40:21 -07:00
Rémi Verschelde
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
Haoyu Qiu
1e82bafa3a
Remove redundant info on the enum types used
2025-06-04 08:21:47 +08:00
kobewi
b41d6ecf8c
Allow to override editor settings per project
2025-06-02 17:51:26 +02:00
Lukas Tenbrink
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
Aaron Franke
528a0a551b
GLTF: Don't export AnimationPlayer nodes as glTF nodes
2025-05-25 12:30:51 -07:00
Aaron Franke
15de1d6c35
Use Grisu2 algorithm in String::num_scientific to fix serializing
2025-05-22 09:13:16 -07:00
Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents
2025-05-02 08:23:01 -05:00
Thaddeus Crews
f4f1471b57
Merge pull request #105910 from lawnjelly/global_get_fast4
...
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
lawnjelly
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
Rémi Verschelde
c019b76523
Remove WinAPI `#undef` hacks needed for mingw-std-threads
...
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
500e0d5dc4
Merge pull request #93722 from aaronfranke/gltf-khr-node-visibility
...
Implement `KHR_node_visibility` in the GLTF module
2025-04-24 17:18:51 -05:00
Thaddeus Crews
71920b1d50
Merge pull request #104784 from aaronfranke/gltf-fallback-image
...
GLTF export: Allow using a PNG or JPEG fallback image
2025-04-24 17:18:48 -05:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default.
2025-04-23 12:47:31 +03:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Aaron Franke
8459f4cdaf
Implement KHR_node_visibility in the GLTF module
2025-04-13 13:42:46 -07:00
Thaddeus Crews
9b3e445e47
Merge pull request #105073 from Mickeon/documentation-miscellaneous-oddities-part-4
...
Fix miscellaneous oddities around the class reference (part 4)
2025-04-11 09:51:11 -05:00
Thaddeus Crews
94282d88f9
Core: Use `Math` namespace for constants
2025-04-10 16:29:30 -05:00
Micky
e935fb1ee2
Fix miscellaneous oddities around the class reference (part 4)
2025-04-10 17:56:58 +02:00
A Thousand Ships
889410dcda
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 13:08:45 +02:00
Thaddeus Crews
f76190092d
Merge pull request #104780 from aaronfranke/gltf-fix-invalid-byte-stride
...
GLTF: Fix importing files with invalid buffer view byte strides
2025-04-09 18:12:00 -05:00
Thaddeus Crews
7a6c3b309f
Merge pull request #105130 from bruvzg/uri_fix_plus
...
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
Thaddeus Crews
e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
...
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews
d98c3f5ffe
Merge pull request #104333 from Mickeon/documentation-even-more-miscellaneous-oddities
...
Fix *even* more miscellaneous oddities around the class reference
2025-04-08 12:32:41 -05:00
Pāvels Nadtočajevs
302fa831cc
Initial editor accessibility.
2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs
9abe2e5294
Add `uri_file_decode` to handle `+` in file names.
2025-04-07 23:49:17 +03:00
Micky
7603945d14
Fix *even* more miscellaneous oddities around the class reference
2025-04-07 17:37:08 +02:00
Aaron Franke
03b793464f
GLTF export: Allow using a PNG or JPEG fallback image
2025-04-06 03:34:43 -07:00
Yufeng Ying
8ae16699c5
Do not use Dictionary::keys() for Dictionary iteration.
2025-04-05 18:42:13 +08:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Thaddeus Crews
4778212be1
Merge pull request #101270 from aaronfranke/gltf-export-img-num-pad
...
GLTF: Only pad zeros when exporting numbered images
2025-03-31 19:02:07 -05:00
Aaron Franke
674c2dc9ee
GLTF: Fix importing files with invalid buffer view byte strides
2025-03-30 18:38:22 -07:00
Kiro
23129a66ed
Replace append_utfx with direct String::utfx
2025-03-30 19:56:38 +02:00
Thaddeus Crews
780cf03051
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
...
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Aaron Franke
aeece9d5fb
GLTF: Only pad zeros when exporting numbered images
2025-03-29 04:18:16 -07:00
Rémi Verschelde
ddae331c79
Merge pull request #103853 from aaronfranke/gltf-fix-light-color-space
...
GLTF: Fix wrong color space for GLTFLight on export
2025-03-28 17:30:09 +01:00
Rémi Verschelde
e8bc75f056
Merge pull request #103373 from YeldhamDev/build_remove_physics
...
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Rémi Verschelde
3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
...
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Michael Alexsander
5ad414d046
Allow to compile templates without physics servers
2025-03-28 11:00:44 -03:00
Rémi Verschelde
b13c96b097
Merge pull request #104713 from aaronfranke/gltf-post-convert
...
GLTF: Fix `export_post_convert` not running for multi-root scenes
2025-03-28 14:35:03 +01:00
Aaron Franke
38ba5f59c9
GLTF: Fix export_post_convert not running for multi-root scenes
2025-03-27 23:00:01 -07:00
Aaron Franke
98e9ace3ef
GLTF: Don't write unused targetNames on meshes
2025-03-27 18:14:33 -07:00
Lukas Tenbrink
ffa6ef220b
Use `append_` instead of `parse_` for `String` methods.
2025-03-27 17:51:02 +01:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
Thaddeus Crews
8f331ebd9c
Merge pull request #103099 from YeldhamDev/build_res_loader_disable
...
Disable `ResourceFormatLoader/Saver`s of disabled classes
2025-03-23 19:04:01 -05:00
Thaddeus Crews
f09ee0171a
Style: Begin integrating simple `.clangd` fixes
2025-03-22 13:24:35 -05:00
Michael Alexsander
090358afcf
Disable `ResourceFormatLoader/Saver`s of disabled classes
2025-03-21 14:23:05 -03:00
Rémi Verschelde
18cd665202
Merge pull request #104206 from KoBeWi/unshape
...
Unbind `CSGShape::_update_shape()` and make it public
2025-03-19 12:27:23 +01:00
kobewi
6f25babd6b
Remove empty constructors and destructors from editor/
2025-03-17 21:20:02 +01:00
kobewi
e64a07cc57
Unbind CSGShape::_update_shape() and make it public
2025-03-16 00:36:50 +01:00
kobewi
7cb2fb189a
Remove TOOLS_ENABLED checks from editor/
2025-03-14 18:13:16 +01:00
David Snopek
393465ce92
Register editor classes normally, rather than via `ClassDB::set_current_api()`
2025-03-13 15:17:45 -05:00
Aaron Franke
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
2025-03-12 11:11:38 -07:00
yesfish
f180e8a79d
Add named placeholder to blender import options
2025-03-12 13:18:36 +00:00
Thaddeus Crews
6c4f17db1a
Core: Avoid including `modules_enabled` in headers
2025-03-11 19:42:13 -05:00
Aaron Franke
6249306c15
GLTF: Fix wrong color space for GLTFLight
2025-03-10 13:42:35 -07:00
A Thousand Ships
466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with `#pragma once`
2025-03-07 17:33:47 -06:00
Aaron Franke
0528d92d73
Fix compiling on arm64 Linux
2025-02-25 14:47:29 -08:00
Rémi Verschelde
21fcb56547
Remove unused `EditorSceneFormatImporter::_get_import_flags`
...
This has never been used since Godot was open sourced.
Import flags are used but directly through `_import_scene`.
2025-01-14 16:57:06 +01:00