diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-16 11:51:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-16 11:51:02 +0400 |
commit | 68dbfe6ac9105dbb949f4a212507b4101b996570 (patch) | |
tree | 5b9d698f53deedf7f510d3db1c54b923a5989f19 /release | |
parent | 6c8317ae8f58ea0838943e9b2b82ea399cac1b63 (diff) |
move generic bpy helper modules into bpy_extras.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy_extras/image_utils.py (renamed from release/scripts/modules/image_utils.py) | 0 | ||||
-rw-r--r-- | release/scripts/modules/bpy_extras/io_utils.py (renamed from release/scripts/modules/io_utils.py) | 0 | ||||
-rw-r--r-- | release/scripts/modules/bpy_extras/mesh_utils.py (renamed from release/scripts/modules/mesh_utils.py) | 0 | ||||
-rw-r--r-- | release/scripts/modules/bpy_extras/object_utils.py (renamed from release/scripts/modules/add_object_utils.py) | 0 | ||||
-rw-r--r-- | release/scripts/modules/bpy_extras/view3d_utils.py (renamed from release/scripts/modules/view3d_utils.py) | 0 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/add_mesh_torus.py | 4 | ||||
-rw-r--r-- | release/scripts/templates/operator_export.py | 2 | ||||
-rw-r--r-- | release/scripts/templates/operator_mesh_add.py | 4 |
8 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/modules/image_utils.py b/release/scripts/modules/bpy_extras/image_utils.py index 39e49ee1f96..39e49ee1f96 100644 --- a/release/scripts/modules/image_utils.py +++ b/release/scripts/modules/bpy_extras/image_utils.py diff --git a/release/scripts/modules/io_utils.py b/release/scripts/modules/bpy_extras/io_utils.py index 820d7cfa39d..820d7cfa39d 100644 --- a/release/scripts/modules/io_utils.py +++ b/release/scripts/modules/bpy_extras/io_utils.py diff --git a/release/scripts/modules/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py index 5bacff7b0cc..5bacff7b0cc 100644 --- a/release/scripts/modules/mesh_utils.py +++ b/release/scripts/modules/bpy_extras/mesh_utils.py diff --git a/release/scripts/modules/add_object_utils.py b/release/scripts/modules/bpy_extras/object_utils.py index 1cf7fc2f4d5..1cf7fc2f4d5 100644 --- a/release/scripts/modules/add_object_utils.py +++ b/release/scripts/modules/bpy_extras/object_utils.py diff --git a/release/scripts/modules/view3d_utils.py b/release/scripts/modules/bpy_extras/view3d_utils.py index 15f5aaa20b7..15f5aaa20b7 100644 --- a/release/scripts/modules/view3d_utils.py +++ b/release/scripts/modules/bpy_extras/view3d_utils.py diff --git a/release/scripts/startup/bl_operators/add_mesh_torus.py b/release/scripts/startup/bl_operators/add_mesh_torus.py index 460330a56a1..6ab803cc469 100644 --- a/release/scripts/startup/bl_operators/add_mesh_torus.py +++ b/release/scripts/startup/bl_operators/add_mesh_torus.py @@ -132,7 +132,7 @@ class AddTorus(bpy.types.Operator): mesh.faces.foreach_set("vertices_raw", faces) mesh.update() - import add_object_utils - add_object_utils.object_data_add(context, mesh, operator=self) + from bpy_extras import object_utils + object_utils.object_data_add(context, mesh, operator=self) return {'FINISHED'} diff --git a/release/scripts/templates/operator_export.py b/release/scripts/templates/operator_export.py index 1b1c90c8a21..4cf943a53b7 100644 --- a/release/scripts/templates/operator_export.py +++ b/release/scripts/templates/operator_export.py @@ -12,7 +12,7 @@ def write_some_data(context, filepath, use_some_setting): # ExportHelper is a helper class, defines filename and # invoke() function which calls the file selector. -from io_utils import ExportHelper +from bpy_extras.io_utils import ExportHelper from bpy.props import StringProperty, BoolProperty, EnumProperty diff --git a/release/scripts/templates/operator_mesh_add.py b/release/scripts/templates/operator_mesh_add.py index 65b08eebb4e..10d23a6712d 100644 --- a/release/scripts/templates/operator_mesh_add.py +++ b/release/scripts/templates/operator_mesh_add.py @@ -80,8 +80,8 @@ class AddBox(bpy.types.Operator): mesh.update() # add the mesh as an object into the scene with this utility module - import add_object_utils - add_object_utils.object_data_add(context, mesh, operator=self) + from bpy_extras import object_utils + object_utils.object_data_add(context, mesh, operator=self) return {'FINISHED'} |