diff --git a/constants.py b/constants.py index 1db816b..69833c9 100644 --- a/constants.py +++ b/constants.py @@ -1,5 +1,6 @@ import appdirs import bpy +import bpy.utils.previews import os from pathlib import Path from tempfile import gettempdir diff --git a/preferences.py b/preferences.py index 98bfffa..0de7be4 100644 --- a/preferences.py +++ b/preferences.py @@ -61,6 +61,7 @@ def load_trackers(): print(e) def load_tracker_prefs(): + # FIXME Ça écrase les prefs à chaque quoi prefs = get_addon_prefs() tracker_prefs_file = os.getenv('TRACKER_PREFS')