Commit Graph

153 Commits

Author SHA1 Message Date
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
Rémi Verschelde 8415bd7105 Merge pull request #116589 from Sysex89/blend_import
Blender attempts should be incremented to avoid endless loop
2026-03-14 12:15:54 +01:00
kobewi 9a0c0bf757 Remove redundant _has_main_screen() overrides 2026-03-13 13:10:09 +01:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01: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 f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
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
pavlos vasilantonakis e8fe664710 attempts should be incremented to avoid endless loop 2026-02-21 00:09:36 +01:00
Aaron Franke b5c15ed150 Default 3D model importer naming versions to the latest 2026-01-06 12:03:06 -08: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
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 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
kobewi 33ccc5110e Remove side menu functionality in EditorFileDialog 2025-10-22 12:29:26 +02: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
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
Jens Pitkanen 4808c25c2e Fix light values on blend import when using non-physical light units 2025-08-15 21:30:08 +03: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
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
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 dc85b32a50 GLTF: Don't collapse non-joint leaf nodes when importing skeletons 2025-06-08 14:47:37 -07: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 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 Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Aaron Franke 8459f4cdaf Implement KHR_node_visibility in the GLTF module 2025-04-13 13:42:46 -07:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +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 8ae16699c5 Do not use Dictionary::keys() for Dictionary iteration. 2025-04-05 18:42:13 +08:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
kobewi 7cb2fb189a Remove TOOLS_ENABLED checks from editor/ 2025-03-14 18:13:16 +01:00
yesfish f180e8a79d Add named placeholder to blender import options 2025-03-12 13:18:36 +00:00
Thaddeus Crews 324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06: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
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
Rémi Verschelde 8a743f23e6 Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +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 0ab3dc273e Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00