1
0
Fork 0
Commit Graph

342 Commits

Author SHA1 Message Date
Thaddeus Crews 01fc9aee6c
Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05: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
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 94282d88f9
Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05: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
Pāvels Nadtočajevs 9abe2e5294
Add `uri_file_decode` to handle `+` in file names. 2025-04-07 23:49:17 +03:00
Aaron Franke 03b793464f
GLTF export: Allow using a PNG or JPEG fallback image 2025-04-06 03:34:43 -07: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 3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
Use initializer list in Arrays
2025-03-28 17:29:40 +01: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 f09ee0171a
Style: Begin integrating simple `.clangd` fixes 2025-03-22 13:24:35 -05:00
kobewi e64a07cc57 Unbind CSGShape::_update_shape() and make it public 2025-03-16 00:36:50 +01:00
Aaron Franke 97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
Thaddeus Crews 6c4f17db1a
Core: Avoid including `modules_enabled` in headers 2025-03-11 19:42:13 -05:00
A Thousand Ships 466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters 2025-03-08 20:36:37 +01:00
Aaron Franke 0528d92d73
Fix compiling on arm64 Linux 2025-02-25 14:47:29 -08:00
Aarni Koskela f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Rémi Verschelde e06cac212b
Merge pull request #99893 from kiroxas/avoidUTF8ParsingWhenNotNecessary
Avoid duplicated `utf8()` calls
2025-01-06 22:47:12 +01:00
Rémi Verschelde ba8a155551
Merge pull request #98909 from demolke/master
GLTF: Don't duplicate textures when importing blend files
2025-01-06 22:46:44 +01:00
Aaron Franke ec7d7abde9
GLTF: Always read alphaCutoff property 2025-01-02 12:53:55 -08:00
A Thousand Ships a1846b27ea
Improve use of `Ref.is_null/valid`
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Kiro 06efe84bca Remove duplicate `utf8()` calls 2024-12-19 10:15:46 +01:00
demolke e649e7e3c5 GLTF: Don't duplicate textures when importing blend files
Blender imports will always start within `.godot/imported`  folder because we first convert the .blend file to .gltf, store it in `.godot/imported` and run the import from there, so on-disk resources linked from .blend files end up with duplicate textures.
2024-12-18 21:24:18 +01:00
Aaron Franke de87ca5084
GLTF: Fix bad pointer to ImporterMeshInstance3D root node at runtime 2024-12-15 18:05:57 -08:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
A Thousand Ships 68f638cf02
Use `(r)find_char` instead of `(r)find` for single characters 2024-11-17 10:02:18 +01:00
Thaddeus Crews 9be806aef1
Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
Thaddeus Crews 3c1570721f
Merge pull request #94751 from RadiantUwU/patch-2
GLTF: Return the error file path when an import fails.
2024-11-11 14:18:05 -06:00
Thaddeus Crews 925b690c98
Core: Integrate `Ref::instantiate` where possible 2024-11-10 12:41:26 -06:00
Thaddeus Crews cd6dad4090
Merge pull request #98703 from pgrit/master
Set flag for 8 bone weights in GLTFDocument
2024-11-10 12:12:18 -06:00
Thaddeus Crews ef8aafc2df
Merge pull request #94165 from aaronfranke/gltf-khr-anim-ptr
GLTF: Implement `KHR_animation_pointer` for animating custom properties
2024-11-04 21:52:03 -06:00
Aaron Franke 02d8c6eefe
GLTF: Add extract_path and extract_prefix settings
Only used by the Blender importer
2024-11-04 19:28:33 -08:00
Aaron Franke 0b7354dfa9
GLTF: Don't give up loading image if import fails 2024-11-04 19:28:18 -08:00
Aaron Franke 0513943f70
GLTF: Implement KHR_animation_pointer for animating custom properties 2024-11-04 17:55:40 -08:00
Aaron Franke d373d207c1
GLTF: Add functions to encode and decode Variants to/from accessors 2024-11-04 17:55:40 -08:00
Aaron Franke 4b66a25f52
GLTF: Implement the glTF Object Model to support JSON pointer properties 2024-11-04 17:55:39 -08:00