diff --git a/fast64_internal/oot/animation/operators.py b/fast64_internal/oot/animation/operators.py index 7db7a57..59e84f3 100644 --- a/fast64_internal/oot/animation/operators.py +++ b/fast64_internal/oot/animation/operators.py @@ -18,10 +18,17 @@ from ..oot_utility import ( def exportAnimationC(armatureObj: bpy.types.Object, settings: OOTAnimExportSettingsProperty): + if settings.isCustom: + checkEmptyName(settings.customPath) + else: + checkEmptyName(settings.folderName) + + if settings.isCustomFilename: + checkEmptyName(settings.filename) + path = bpy.path.abspath(settings.customPath) exportPath = ootGetObjectPath(settings.isCustom, path, settings.folderName, False) - checkEmptyName(settings.folderName) checkEmptyName(armatureObj.name) name = toAlnum(armatureObj.name) filename = settings.filename if settings.isCustomFilename else name