changeset 8:eda67f807e5c draft

Uploaded
author greg
date Mon, 11 Jan 2016 09:07:20 -0500
parents 8df65e37d12a
children d949f5f86932
files icqsol_create_shape.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/icqsol_create_shape.py	Mon Jan 11 09:07:10 2016 -0500
+++ b/icqsol_create_shape.py	Mon Jan 11 09:07:20 2016 -0500
@@ -3,7 +3,6 @@
 import shutil
 
 import icqsol_utils
-from icqsol.shapes.icqShapeManager import ShapeManager
 
 # Parse Command Line.
 parser = argparse.ArgumentParser()
@@ -44,7 +43,7 @@
 cloning = True if args.create_process == 'clone' else False
 
 # TODO: fix this to handle inputPLY files for cloning, but producing VTK POLYDATA.
-shape_mgr = ShapeManager(file_format=format, vtk_dataset_type=icqsol_utils.POLYDATA)
+shape_mgr = icqsol_utils.get_shape_manager(format, icqsol_utils.POLYDATA)
 
 if cloning:
     # We're cloning an existing shape selected from the history.