diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-29 05:51:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-29 05:51:36 +0300 |
commit | 6598f0a25cb0485c6e6fa66964c2d74bf80ff705 (patch) | |
tree | a15f2b63048bffbfc4e26a1db0800e2b005d4a29 /add_mesh_extra_objects/add_mesh_round_cube.py | |
parent | 9dde6b34b254a3882a1366023eca9792033f9b6c (diff) |
Cleanup: trailing space
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_round_cube.py')
-rw-r--r-- | add_mesh_extra_objects/add_mesh_round_cube.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_extra_objects/add_mesh_round_cube.py b/add_mesh_extra_objects/add_mesh_round_cube.py index 8aeef160..3be67b5b 100644 --- a/add_mesh_extra_objects/add_mesh_round_cube.py +++ b/add_mesh_extra_objects/add_mesh_round_cube.py @@ -398,7 +398,7 @@ class AddRoundCube(Operator, object_utils.AddObjectHelper): self.report({'ERROR'}, 'More than ' + str(self.sanity_check_verts) + ' vertices! Check "No Limit" to proceed') return {'CANCELLED'} - + if bpy.context.mode == "OBJECT": if context.selected_objects != [] and context.active_object and \ ('Roundcube' in context.active_object.data.keys()) and (self.change == True): @@ -425,7 +425,7 @@ class AddRoundCube(Operator, object_utils.AddObjectHelper): obj.data["change"] = False for prm in RoundCubeParameters(): obj.data[prm] = getattr(self, prm) - + if bpy.context.mode == "EDIT_MESH": active_object = context.active_object name_active_object = active_object.name |