diff options
Diffstat (limited to 'release/scripts/startup/bl_operators')
-rw-r--r-- | release/scripts/startup/bl_operators/add_mesh_torus.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/object.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/add_mesh_torus.py b/release/scripts/startup/bl_operators/add_mesh_torus.py index a22161fc1ae..bd727ec3e83 100644 --- a/release/scripts/startup/bl_operators/add_mesh_torus.py +++ b/release/scripts/startup/bl_operators/add_mesh_torus.py @@ -202,7 +202,7 @@ class AddTorus(Operator, object_utils.AddObjectHelper): col = layout.column(align=True) col.prop(self, "generate_uvs") col.separator() - col.prop(self, "view_align") + col.prop(self, "align") col = layout.column(align=True) col.label(text="Location") diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index f68b59192b8..28324891c53 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -912,7 +912,7 @@ class LoadImageAsEmpty: 'INVOKE_REGION_WIN', type='IMAGE', location=cursor, - view_align=self.view_align, + align=('VIEW' if self.view_align else 'WORLD'), ) obj = context.active_object |