From 6e05bba9e5e13c277cd1514a0e83dd8e5fc26c7b Mon Sep 17 00:00:00 2001 From: William Herald Snyder Date: Sun, 2 Oct 2022 13:29:02 -0400 Subject: [PATCH] Fix import order bug in materials_to_blend that invalidated script reloading --- addons/io_scene_swbf_msh/msh_material_to_blend.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/io_scene_swbf_msh/msh_material_to_blend.py b/addons/io_scene_swbf_msh/msh_material_to_blend.py index 9e0da96..d47fe90 100644 --- a/addons/io_scene_swbf_msh/msh_material_to_blend.py +++ b/addons/io_scene_swbf_msh/msh_material_to_blend.py @@ -2,10 +2,9 @@ import bpy from typing import Dict -from .msh_material import * -from .msh_material_gather import * + from .msh_material_properties import * -from .msh_material_operators import * +from .msh_material import * from .msh_material_utilities import _REVERSE_RENDERTYPES_MAPPING @@ -15,6 +14,8 @@ import os + + def find_texture_path(folder_path : str, name : str) -> str: if not folder_path or not name: