Models with basic materials importing correctly
This commit is contained in:
@@ -60,6 +60,7 @@ from .msh_scene import create_scene
|
||||
from .msh_scene_save import save_scene
|
||||
from .msh_scene_read import read_scene
|
||||
from .msh_material_properties import *
|
||||
from .msh_to_blend import *
|
||||
|
||||
class ExportMSH(Operator, ExportHelper):
|
||||
""" Export the current scene as a SWBF .msh file. """
|
||||
@@ -133,7 +134,7 @@ class ImportMSH(Operator, ImportHelper):
|
||||
|
||||
def execute(self, context):
|
||||
with open(self.filepath, 'rb') as input_file:
|
||||
read_scene(input_file)
|
||||
extract_scene(read_scene(input_file))
|
||||
return {'FINISHED'}
|
||||
|
||||
def menu_func_import(self, context):
|
||||
|
||||
Reference in New Issue
Block a user