diff options
author | Vladimir Spivak(cwolf3d) <cwolf3d@gmail.com> | 2020-09-06 20:32:00 +0300 |
---|---|---|
committer | Vladimir Spivak(cwolf3d) <cwolf3d@gmail.com> | 2020-09-06 20:32:00 +0300 |
commit | da2b17e46cb937493454e3f47498cc76a0a51404 (patch) | |
tree | 47b41f10c27c2e9cd32216a2c793956e4131f145 /add_mesh_extra_objects/Wallfactory.py | |
parent | d37be8f892308aeaf96380b6d798e62cc7607792 (diff) |
Fix T80465: [Add Mesh: Extra Objects] Adding mesh in EditMode removes modifiers
Diffstat (limited to 'add_mesh_extra_objects/Wallfactory.py')
-rw-r--r-- | add_mesh_extra_objects/Wallfactory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/add_mesh_extra_objects/Wallfactory.py b/add_mesh_extra_objects/Wallfactory.py index ede91fc3..4b15b62a 100644 --- a/add_mesh_extra_objects/Wallfactory.py +++ b/add_mesh_extra_objects/Wallfactory.py @@ -917,6 +917,7 @@ class add_mesh_wallb(Operator, object_utils.AddObjectHelper): obj = object_utils.object_data_add(context, mesh, operator=self) obj.select_set(True) active_object.select_set(True) + bpy.context.view_layer.objects.active = active_object bpy.ops.object.join() context.active_object.name = name_active_object bpy.ops.object.mode_set(mode='EDIT') |