diff options
Diffstat (limited to 'release/scripts/templates')
-rw-r--r-- | release/scripts/templates/operator_export.py | 2 | ||||
-rw-r--r-- | release/scripts/templates/operator_mesh_add.py | 4 |
2 files changed, 3 insertions, 3 deletions
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'} |