From fca80ff61e8bbce39bc2584a6ad7e7659577d1b1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 16 May 2011 07:52:45 +0000 Subject: update for changes in blender module layout, also add global axis conversion to FBX. --- add_mesh_ant_landscape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'add_mesh_ant_landscape.py') diff --git a/add_mesh_ant_landscape.py b/add_mesh_ant_landscape.py index e287030d..d7ca08d0 100644 --- a/add_mesh_ant_landscape.py +++ b/add_mesh_ant_landscape.py @@ -94,8 +94,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. # Connects two equally long vertex rows with faces. -- cgit v1.2.3