diff options
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 |