Mercurial > repos > greg > icqsol_add_texture
diff icqsol_utils.py @ 9:c5adc08ee05b draft
Uploaded
author | greg |
---|---|
date | Tue, 12 Jul 2016 11:29:16 -0400 |
parents | 2a4022a3d058 |
children |
line wrap: on
line diff
--- a/icqsol_utils.py Mon Jan 11 09:37:59 2016 -0500 +++ b/icqsol_utils.py Tue Jul 12 11:29:16 2016 -0400 @@ -48,12 +48,7 @@ def get_shape_manager(format=None, dataset_type=None): # Instantiate a ShapeManager. - if format is None and dataset_type is None: - return ShapeManager() - if format == VTK: - return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) - else: - return ShapeManager(file_format=format) + return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) def get_temp_dir(prefix='tmp-vtk-', dir=None):