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 /editor/fbx_importer_manager.h | |
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 'editor/fbx_importer_manager.h')
-rw-r--r-- | editor/fbx_importer_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/fbx_importer_manager.h b/editor/fbx_importer_manager.h index ed0a96337e..dd5fcfd16e 100644 --- a/editor/fbx_importer_manager.h +++ b/editor/fbx_importer_manager.h @@ -38,6 +38,8 @@ class FBXImporterManager : public ConfirmationDialog { GDCLASS(FBXImporterManager, ConfirmationDialog) + bool is_importing = false; + Label *message = nullptr; LineEdit *fbx_path = nullptr; Button *fbx_path_browse = nullptr; @@ -47,6 +49,7 @@ class FBXImporterManager : public ConfirmationDialog { void _validate_path(const String &p_path); void _select_file(const String &p_path); void _path_confirmed(); + void _cancel_setup(); void _browse_install(); void _link_clicked(); |