Export to blend file for cloud rendering

This commit is contained in:
Stefan Cepko
2026-06-02 16:54:36 -04:00
parent 39a4725334
commit 61e8889354
3 changed files with 492 additions and 1 deletions
+8 -1
View File
@@ -64,9 +64,14 @@ if "bpy" in locals():
importlib.reload(operators)
importlib.reload(ui)
importlib.reload(scene_setup)
# bake_export may not exist from a prior session — import if needed
if "bake_export" in locals():
importlib.reload(bake_export)
else:
from . import bake_export
else:
import bpy
from . import compat, constants, types, materials, geometry, handler, properties, operators, ui, scene_setup
from . import compat, constants, types, materials, geometry, handler, properties, operators, ui, scene_setup, bake_export
from .compat import apply_compat_patches
from .properties import (
@@ -86,6 +91,7 @@ from .operators import (
KNOT_OT_FitPlaylist,
KNOT_OT_GenerateRandom,
)
from .bake_export import KNOT_OT_BakeExport
from .ui import (
KNOT_UL_List,
KNOT_UL_AllowedMaterialsList,
@@ -130,6 +136,7 @@ classes = (
KNOT_OT_FitTimeline,
KNOT_OT_FitPlaylist,
KNOT_OT_GenerateRandom,
KNOT_OT_BakeExport,
KNOT_PT_Panel,
)