fix bpy.utils has no attribute previews
Importing bpy.utils.previews fix itpull/5/head
parent
379ef0ad93
commit
e5857afa7d
|
@ -1,5 +1,6 @@
|
||||||
import appdirs
|
import appdirs
|
||||||
import bpy
|
import bpy
|
||||||
|
import bpy.utils.previews
|
||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from tempfile import gettempdir
|
from tempfile import gettempdir
|
||||||
|
|
|
@ -61,6 +61,7 @@ def load_trackers():
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
def load_tracker_prefs():
|
def load_tracker_prefs():
|
||||||
|
# FIXME Ça écrase les prefs à chaque quoi
|
||||||
prefs = get_addon_prefs()
|
prefs = get_addon_prefs()
|
||||||
tracker_prefs_file = os.getenv('TRACKER_PREFS')
|
tracker_prefs_file = os.getenv('TRACKER_PREFS')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue