From 27544bd08ae01a8b58c85301a90911bb0871ad0c Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Fri, 9 Aug 2024 17:12:44 +0200 Subject: [PATCH] [OoT] Fixup Quick Import (#406) quickimport fixup --- fast64_internal/oot/tools/quick_import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fast64_internal/oot/tools/quick_import.py b/fast64_internal/oot/tools/quick_import.py index 4dcb772d0..179522cd3 100644 --- a/fast64_internal/oot/tools/quick_import.py +++ b/fast64_internal/oot/tools/quick_import.py @@ -53,7 +53,8 @@ def quick_import_exec(context: bpy.types.Context, sym_name: str): continue found_defs = sym_def_pattern.findall(source) print(file_p, f"{found_defs=}") - all_found_defs[file_p] = found_defs + if found_defs: + all_found_defs[file_p] = found_defs # Ideally if for example sym_name was gLinkAdultHookshotTipDL, # all_found_defs now contains: