From cfb7a8b5140e760ba705f2fa1fd5c5b7e35b4e98 Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Thu, 6 Jun 2024 22:11:22 +0200 Subject: [PATCH] Fix character error --- Fange_Pipeline/operators/exports.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Fange_Pipeline/operators/exports.py b/Fange_Pipeline/operators/exports.py index cb095fe..e2651f1 100644 --- a/Fange_Pipeline/operators/exports.py +++ b/Fange_Pipeline/operators/exports.py @@ -123,14 +123,12 @@ Requiert your blend file are write on your hard-drive.""" def get_asset_type(self) -> Path: """Look the file path, to understand if the asset are a Character, Buildings or Props""" abs_blend_path = Path(bpy.data.filepath) - print(f'[Pipeline] Get blend file path "{abs_blend_path}"') - print(f'[Pipeline] Convert to List "{abs_blend_path.parts}"') if 'Buildings' in abs_blend_path.parts: print(f'[Pipeline] Export here "{self.path.buildings}"') return self.path.buildings - elif 'Pros' in abs_blend_path.parts: + elif 'Props' in abs_blend_path.parts: print(f'[Pipeline] Export here "{self.path.props}"') return self.path.props