generated from stilobique/BlenderTemplate
Make a dedicated folder about the interface
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import bpy
|
||||
|
||||
from .ui import GRAOU_PT_panel
|
||||
from .ui.export import GRAOU_PT_panel
|
||||
from .operators.outline import ConfigBlendScene
|
||||
from .operators.exports import ExportForFange
|
||||
from .operators.misc import MakeBasicCollision
|
||||
|
||||
@@ -48,7 +48,7 @@ class ExportForFange(bpy.types.Operator):
|
||||
|
||||
abs_export = self.category.joinpath(self.asset, "Meshes")
|
||||
if not abs_export.exists():
|
||||
abs_export.mkdir()
|
||||
abs_export.mkdir(parents=True)
|
||||
|
||||
# TODO Use a preset system
|
||||
bpy.ops.export_scene.fbx(filepath=abs_export.joinpath(f"SM_{coll.name}.fbx").as_posix(),
|
||||
|
||||
Reference in New Issue
Block a user