refactor(Blenvy): renaming , moving of auto_export modules

This commit is contained in:
kaosat.dev 2024-05-25 10:54:23 +02:00
parent c00c9908eb
commit 8b76a34bec
30 changed files with 9 additions and 9 deletions

View File

@ -30,9 +30,9 @@ from .bevy_components.components.definitions_list import (ComponentDefinitionsLi
from .bevy_components.components.ui import (BEVY_COMPONENTS_PT_ComponentsPanel)
# auto export
from .gltf_auto_export import gltf_post_export_callback
from .gltf_auto_export.auto_export.tracker import AutoExportTracker
from .gltf_auto_export.settings import AutoExportSettings
from .auto_export import gltf_post_export_callback
from .auto_export.export.tracker import AutoExportTracker
from .auto_export.settings import AutoExportSettings
# asset management
from .assets.ui import Blenvy_assets

View File

@ -11,7 +11,7 @@ from .get_standard_exporter_settings import get_standard_exporter_settings
from .export_main_scenes import export_main_scene
from .export_blueprints import export_blueprints
from ..modules.export_materials import cleanup_materials, export_materials
from .export_materials import cleanup_materials, export_materials
from ..modules.bevy_scene_components import remove_scene_components, upsert_scene_components
from ...blueprints.blueprints_scan import blueprints_scan

View File

@ -6,7 +6,7 @@ from ...core.helpers_collections import (traverse_tree)
from ...core.object_makers import make_cube
from ...materials.materials_helpers import get_all_materials
from ..helpers.generate_and_export import generate_and_export
from ..auto_export.export_gltf import (generate_gltf_export_preferences)
from .export_gltf import (generate_gltf_export_preferences)
def clear_material_info(collection_names, library_scenes):
for scene in library_scenes:

View File

@ -1,5 +1,5 @@
import bpy
from ..auto_export.export_gltf import export_gltf
from ..export.export_gltf import export_gltf
from ...core.helpers_collections import (set_active_collection)
"""

View File

@ -4,7 +4,7 @@ from bpy_types import (PropertyGroup)
from bpy.props import (EnumProperty, PointerProperty, StringProperty, CollectionProperty, IntProperty)
from .scene_helpers import SceneSelector
from ..settings import upsert_settings, load_settings
import blenvy.gltf_auto_export.settings as auto_export_settings
import blenvy.auto_export.settings as auto_export_settings
def update_scene_lists(self, context):
blenvy = self# context.window_manager.blenvy

View File

@ -1,6 +1,6 @@
import bpy
import blenvy.bevy_components.ui as components_ui
import blenvy.gltf_auto_export.ui as auto_export_ui
import blenvy.auto_export.ui as auto_export_ui
from blenvy.settings import load_settings
# from ...bevy_components.components import ui# as components_ui
######################################################

View File

@ -9,7 +9,7 @@ import filecmp
from PIL import Image
from pixelmatch.contrib.PIL import pixelmatch
from blenvy.gltf_auto_export.auto_export.prepare_and_export import prepare_and_export
from blenvy.auto_export.export.prepare_and_export import prepare_and_export
@pytest.fixture
def setup_data(request):