return ArmatureExporter()
class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase):
- bl_idname = "export.mspgl_scene"
+ bl_idname = "export_scene.mspgl_scene"
bl_label = "Export Msp GL scene"
filename_ext = ".scene"
self.export_groups = False
self.max_groups = 2
- def stripify(self, mesh, progress = None):
+ def stripify(self, mesh, progress=None):
for f in mesh.faces:
f.flag = False
import math
import os
-from .export_object import ObjectExporter
-from .outfile import OutFile
class SceneExporter:
def __init__(self):
path, base = os.path.split(out_file.filename)
base, ext = os.path.splitext(base)
+ from .export_object import ObjectExporter
object_export = ObjectExporter()
object_export.compound = True
object_export.external_tech = self.external_tech
if progress:
progress.set_progress(0.5+i*0.5/len(self.vertices))
- def split_smooth(self, progress = None):
+ def split_smooth(self, progress=None):
self.split_vertices(self.find_smooth_group, progress)
- def split_uv(self, index, progress = None):
+ def split_uv(self, index, progress=None):
self.split_vertices(self.find_uv_group, progress, index)
def find_smooth_group(self, vertex, face):