godot/modules/gltf
Lyuma 80bf0cff65 gltf: fix three bugs which prevented extracted textures from being refreshed.
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.

(cherry picked from commit fea4165ca8)
2024-01-24 16:38:28 +01:00
..
doc_classes Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
editor Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
extensions
structures
README.md
SCsub
config.py
gltf_defines.h
gltf_document.cpp gltf: fix three bugs which prevented extracted textures from being refreshed. 2024-01-24 16:38:28 +01:00
gltf_document.h Implement glTF compat version system for files from older Godot versions 2023-11-03 12:07:25 -05:00
gltf_state.cpp Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
gltf_state.h
gltf_template_convert.h
register_types.cpp
register_types.h

README.md

Godot GLTF import and export module

In a nutshell, the GLTF module works like this:

  • The structures/ folder contains GLTF structures, the small pieces that make up a GLTF file, represented as C++ classes.
  • The extensions/ folder contains GLTF extensions, which are optional features that build on top of the base GLTF spec.
  • GLTFState holds collections of structures and extensions.
  • GLTFDocument operates on GLTFState and its elements.
  • The editor/ folder uses GLTFDocument to import and export 3D models.