diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-16 11:52:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-16 11:52:45 +0400 |
commit | fca80ff61e8bbce39bc2584a6ad7e7659577d1b1 (patch) | |
tree | 0018c389f019c9762c5c21245fa55ecb6bfefd0e /add_mesh_extra_objects/add_mesh_gears.py | |
parent | 5751efe5ae443c4d84bf8cdcb85a73b4506a58bc (diff) |
update for changes in blender module layout, also add global axis conversion to FBX.
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_gears.py')
-rw-r--r-- | add_mesh_extra_objects/add_mesh_gears.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_extra_objects/add_mesh_gears.py b/add_mesh_extra_objects/add_mesh_gears.py index 47cc950e..a04e6beb 100644 --- a/add_mesh_extra_objects/add_mesh_gears.py +++ b/add_mesh_extra_objects/add_mesh_gears.py @@ -87,8 +87,8 @@ def create_mesh_object(context, verts, edges, faces, name): # Update mesh geometry after adding stuff. mesh.update() - import add_object_utils - return add_object_utils.object_data_add(context, mesh, operator=None) + from bpy_extras import object_utils + return object_utils.object_data_add(context, mesh, operator=None) # A very simple "bridge" tool. |