diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-03-03 13:10:06 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-03-03 13:53:03 +0100 |
commit | d81e6ee024a8c64b80ac25c96b33c749ba1db79d (patch) | |
tree | 699cea5d99e3448e87ac89091b1dce8521009afb /modules/gltf/register_types.cpp | |
parent | 61d2c855114c824f5ca27ded0a1fa71cc7b21134 (diff) | |
download | redot-engine-d81e6ee024a8c64b80ac25c96b33c749ba1db79d.tar.gz |
FBX: Disable importer when canceling FBX2glTF setup
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319.
Diffstat (limited to 'modules/gltf/register_types.cpp')
-rw-r--r-- | modules/gltf/register_types.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gltf/register_types.cpp b/modules/gltf/register_types.cpp index 78589090db..4754c316a1 100644 --- a/modules/gltf/register_types.cpp +++ b/modules/gltf/register_types.cpp @@ -143,8 +143,8 @@ void initialize_gltf_module(ModuleInitializationLevel p_level) { EditorPlugins::add_by_type<SceneExporterGLTFPlugin>(); // Project settings defined here so doctool finds them. - GLOBAL_DEF_RST("filesystem/import/blender/enabled", true); - GLOBAL_DEF_RST("filesystem/import/fbx/enabled", true); + GLOBAL_DEF_RST_BASIC("filesystem/import/blender/enabled", true); + GLOBAL_DEF_RST_BASIC("filesystem/import/fbx/enabled", true); GDREGISTER_CLASS(EditorSceneFormatImporterBlend); GDREGISTER_CLASS(EditorSceneFormatImporterFBX); // Can't (a priori) run external app on these platforms. |