start refacto update
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
|
||||
from asset_library.plugins import plugin
|
||||
from asset_library.plugins import copy_folder
|
||||
from asset_library.plugins import scan_folder
|
||||
|
||||
if 'bpy' in locals():
|
||||
import importlib
|
||||
|
||||
importlib.reload(plugin)
|
||||
importlib.reload(copy_folder)
|
||||
importlib.reload(scan_folder)
|
||||
|
||||
import bpy
|
||||
|
||||
LibraryPlugin = plugin.LibraryPlugin
|
||||
CopyFolder = copy_folder.CopyFolder
|
||||
ScanFolder = scan_folder.ScanFolder
|
||||
|
||||
+3
-3
@@ -4,9 +4,9 @@ Plugin for making an asset library of all blender file found in a folder
|
||||
"""
|
||||
|
||||
|
||||
from .scan_folder import ScanFolder
|
||||
from ..core.bl_utils import load_datablocks
|
||||
from ..core.template import Template
|
||||
from asset_library.plugins.scan_folder import ScanFolder
|
||||
from asset_library.core.bl_utils import load_datablocks
|
||||
from asset_library.core.template import Template
|
||||
|
||||
import bpy
|
||||
from bpy.props import (StringProperty, IntProperty, BoolProperty)
|
||||
|
||||
@@ -8,8 +8,8 @@ from os.path import expandvars
|
||||
import bpy
|
||||
from bpy.props import StringProperty
|
||||
|
||||
from .library_plugin import LibraryPlugin
|
||||
from ..core.file_utils import copy_dir
|
||||
from asset_library.plugins.library_plugin import LibraryPlugin
|
||||
from asset_library.core.file_utils import copy_dir
|
||||
|
||||
|
||||
|
||||
|
||||
+3
-3
@@ -17,9 +17,9 @@ import time
|
||||
import bpy
|
||||
from bpy.props import (StringProperty, IntProperty, BoolProperty)
|
||||
|
||||
from .library_plugin import LibraryPlugin
|
||||
from ..core.template import Template
|
||||
from ..core.file_utils import install_module
|
||||
from asset_library.plugins.library_plugin import LibraryPlugin
|
||||
from asset_library.core.template import Template
|
||||
from asset_library.core.file_utils import install_module
|
||||
|
||||
|
||||
class Kitsu(LibraryPlugin):
|
||||
|
||||
@@ -17,12 +17,12 @@ from bpy.types import PropertyGroup
|
||||
from bpy.props import StringProperty
|
||||
|
||||
#from asset_library.common.functions import (norm_asset_datas,)
|
||||
from ..core.bl_utils import get_addon_prefs, load_datablocks
|
||||
from ..core.file_utils import read_file, write_file
|
||||
from ..core.template import Template
|
||||
from ..constants import (MODULE_DIR, RESOURCES_DIR)
|
||||
from asset_library.core.bl_utils import get_addon_prefs, load_datablocks
|
||||
from asset_library.core.file_utils import read_file, write_file
|
||||
from asset_library.core.template import Template
|
||||
from asset_library.constants import (MODULE_DIR, RESOURCES_DIR)
|
||||
|
||||
from ..data_type import (action, collection, file)
|
||||
#from asset_library.data_type import (action, collection, file)
|
||||
#from asset_library.common.library_cache import LibraryCacheDiff
|
||||
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ from pprint import pprint as pp
|
||||
import bpy
|
||||
from bpy.props import (StringProperty, IntProperty, BoolProperty, EnumProperty)
|
||||
|
||||
from .library_plugin import LibraryPlugin
|
||||
from ..core.template import Template
|
||||
from ..core.file_utils import install_module
|
||||
from asset_library.plugins.library_plugin import LibraryPlugin
|
||||
from asset_library.core.template import Template
|
||||
from asset_library.core.file_utils import install_module
|
||||
|
||||
|
||||
REQ_HEADERS = requests.utils.default_headers()
|
||||
|
||||
@@ -15,9 +15,9 @@ from itertools import groupby
|
||||
import bpy
|
||||
from bpy.props import (StringProperty, IntProperty, BoolProperty)
|
||||
|
||||
from .library_plugin import LibraryPlugin
|
||||
from ..core.bl_utils import load_datablocks
|
||||
from ..core.template import Template
|
||||
from asset_library.plugins.library_plugin import LibraryPlugin
|
||||
from asset_library.core.bl_utils import load_datablocks
|
||||
from asset_library.core.template import Template
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user