feat: cleanup

This commit is contained in:
lqure
2019-05-14 10:38:13 +02:00
parent 8dd9f5fc0c
commit ce6633d9db
2 changed files with 23 additions and 76 deletions

View File

@ -16,7 +16,7 @@ SUPPORTED_TYPES = ['Curve', 'Material', 'Texture', 'Light', 'Camera', 'Mesh',
'Armature', 'Grease Pencil', 'Object', 'Action', 'Collection', 'Scene']
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)
logging.basicConfig(level=logging.INFO)
# UTILITY FUNCTIONS
@ -78,9 +78,8 @@ def get_all_datablocks():
return datas
# LOAD HELPERS
def load(key, value):
target = resolve_bpy_path(key)
target_type = key.split('/')[0]