Commit Graph

146 Commits

Author SHA1 Message Date
Thaddeus Crews bafe886286 Merge pull request #115788 from Calinou/gltfdocument-expose-import-flags
Expose import flags in GLTFDocument, mark EditorSceneFormatImporter flags as bitfield
2026-04-13 15:52:10 -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
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
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
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05: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
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06: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
Hugo Locurcio 97b2c64c2c Expose import flags in GLTFDocument, mark EditorSceneFormatImporter flags as bitfield 2026-02-04 01:38:13 +01:00
Aaron Franke b5c15ed150 Default 3D model importer naming versions to the latest 2026-01-06 12:03:06 -08:00
Aaron Franke dcb6431c01 Use const ref parameters in the GLTF module 2025-11-13 18:19:26 -08:00
Aaron Franke a5424c321e GLTF: Make handle binary image mode enum type-safe 2025-11-04 10:42:11 -08: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
Thaddeus Crews b17aa3343a Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
kobewi a33ae0be0e Add has_extension() method to String 2025-08-12 13:15:16 +02: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
Lukas Tenbrink e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +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 8350919575 GLTF: Make skeleton bone names unique per-skeleton instead of scene-wide 2025-06-10 02:44:56 -07:00
Thaddeus Crews 5538850d87 Core: Convert Pair/KeyValue to constexpr 2025-05-15 10:37:41 -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
zodywoolsey a54301ef75 fix fbx runtime import not generating meshes properly
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
Co-authored-by: Naming-things-is-hard-btw <ahmadmhamad12331233@gmail.com>
2025-04-27 10:55:46 -06:00
Thaddeus Crews 1f56d96cf2 Merge pull request #104893 from Repiteo/scons/external-includes-alt
SCons: Add `CPPEXTPATH` for external includes
2025-04-02 07:48:03 -05:00
Thaddeus Crews f25fc34439 SCons: Add CPPEXTPATH for external includes 2025-04-02 07:29:08 -05:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
kobewi 75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +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
Thaddeus Crews d7c9c3a5f6 Merge pull request #102538 from Chubercik/ufbx-0.16.0
ufbx: Update to 0.17.1
2025-03-10 21:05:50 -05:00
Thaddeus Crews 324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Jakub Marcowski 100001c807 ufbx: Update to 0.17.1 2025-03-02 11:37:32 +01: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
Yufeng Ying 34d8255947 Force build editor with regex module, remove checking code.
Fix include.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
Yufeng Ying 33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
Thaddeus Crews 2450dee1bc Merge pull request #93401 from Repiteo/style/clang-tidy-fixes
Style: Apply `clang-tidy` fixes
2024-11-04 21:52:05 -06:00
Aaron Franke 834189a618 GLTF: Clean up animation code to make way for KHR_animation_pointer 2024-11-04 17:55:38 -08:00
Thaddeus Crews bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Thaddeus Crews 9f9ee0c813 SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Rémi Verschelde b9b07d619f Merge pull request #94783 from TokageItLab/validate-gltf-anim-name
Add validation to glTF importer for Blendshape and Animation
2024-09-12 09:25:10 +02:00
A Thousand Ships 194bdde947 Cleanup of raw nullptr checks with Ref
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Aaron Franke 9dd71c6414 ResourceImporterScene: Replace animation bool with an import type string enum 2024-08-27 14:58:18 -07:00
Saracen 7050e581ff Fix owner warning when importing FBX. 2024-08-26 14:51:49 +01:00
kobewi 065dd099dd Remove empty bind_methods() 2024-08-15 08:24:32 +02:00
Silc 'Tokage' Renew 0235086c14 Add validation to glTF importer for Blendshape and Animation 2024-07-26 18:05:34 +09:00
Hilderin 169e732518 Fix missing options in Project Import Defaults 2024-07-09 09:33:39 -04:00
Rémi Verschelde 7728839247 Rename FBX2glTF binary path setting back to 4.2 name
This preserves compatibility when upgrading Godot 4.2 projects which relied on that
path being configured in the editor settings.

The old name also makes sense for this one, it's fine for fbx2gltf_path to be under
a generic fbx category which could have more settings also impacting ufbx.
2024-05-30 23:42:11 +02:00