diff options
author | Spivak Vladimir (cwolf3d) <cwolf3d@gmail.com> | 2020-01-15 01:05:43 +0300 |
---|---|---|
committer | Spivak Vladimir (cwolf3d) <cwolf3d@gmail.com> | 2020-01-15 01:05:43 +0300 |
commit | 18a8d4900e72c6bddd5375ac89c818ab791664c4 (patch) | |
tree | 39cb07687530ba541b764fc91af9e6e8f76126a0 /add_mesh_extra_objects/add_mesh_round_cube.py | |
parent | b8696856ccbb020192758f1628e23254eb5d8849 (diff) |
Addon Mesh Extra Objects: Fixed add object in Edit mode
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_round_cube.py')
-rw-r--r-- | add_mesh_extra_objects/add_mesh_round_cube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_extra_objects/add_mesh_round_cube.py b/add_mesh_extra_objects/add_mesh_round_cube.py index b59bbf68..8aeef160 100644 --- a/add_mesh_extra_objects/add_mesh_round_cube.py +++ b/add_mesh_extra_objects/add_mesh_round_cube.py @@ -434,7 +434,7 @@ class AddRoundCube(Operator, object_utils.AddObjectHelper): self.size, self.div_type, self.odd_axis_align) mesh = bpy.data.meshes.new('Roundcube') mesh.from_pydata(verts, [], faces) - object_utils.object_data_add(context, mesh, operator=self) + obj = object_utils.object_data_add(context, mesh, operator=self) obj.select_set(True) active_object.select_set(True) bpy.ops.object.join() |