diff options
Diffstat (limited to 'add_mesh_extra_objects')
-rw-r--r-- | add_mesh_extra_objects/Wallfactory.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/__init__.py | 2 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_beam_builder.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_gears.py | 2 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_gemstones.py | 2 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_honeycomb.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_pipe_joint.py | 5 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_pyramid.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_round_brilliant.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_round_cube.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_star.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_supertoroid.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_torusknot.py | 1 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_twisted_torus.py | 1 |
14 files changed, 20 insertions, 1 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') diff --git a/add_mesh_extra_objects/__init__.py b/add_mesh_extra_objects/__init__.py index 14bde07d..fa7918ef 100644 --- a/add_mesh_extra_objects/__init__.py +++ b/add_mesh_extra_objects/__init__.py @@ -26,7 +26,7 @@ bl_info = { "name": "Extra Objects", "author": "Multiple Authors", - "version": (0, 3, 6), + "version": (0, 3, 7), "blender": (2, 80, 0), "location": "View3D > Add > Mesh", "description": "Add extra mesh object types", diff --git a/add_mesh_extra_objects/add_mesh_beam_builder.py b/add_mesh_extra_objects/add_mesh_beam_builder.py index 38944c58..5bb1bceb 100644 --- a/add_mesh_extra_objects/add_mesh_beam_builder.py +++ b/add_mesh_extra_objects/add_mesh_beam_builder.py @@ -792,6 +792,7 @@ class addBeam(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') diff --git a/add_mesh_extra_objects/add_mesh_gears.py b/add_mesh_extra_objects/add_mesh_gears.py index 9170952a..9655dea9 100644 --- a/add_mesh_extra_objects/add_mesh_gears.py +++ b/add_mesh_extra_objects/add_mesh_gears.py @@ -737,6 +737,7 @@ class AddGear(Operator, object_utils.AddObjectHelper): 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') @@ -958,6 +959,7 @@ class AddWormGear(Operator, object_utils.AddObjectHelper): 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') diff --git a/add_mesh_extra_objects/add_mesh_gemstones.py b/add_mesh_extra_objects/add_mesh_gemstones.py index c47e4131..fe31675d 100644 --- a/add_mesh_extra_objects/add_mesh_gemstones.py +++ b/add_mesh_extra_objects/add_mesh_gemstones.py @@ -332,6 +332,7 @@ class AddDiamond(Operator, object_utils.AddObjectHelper): 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') @@ -480,6 +481,7 @@ class AddGem(Operator, object_utils.AddObjectHelper): 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') diff --git a/add_mesh_extra_objects/add_mesh_honeycomb.py b/add_mesh_extra_objects/add_mesh_honeycomb.py index 73dea1d6..48a71940 100644 --- a/add_mesh_extra_objects/add_mesh_honeycomb.py +++ b/add_mesh_extra_objects/add_mesh_honeycomb.py @@ -314,6 +314,7 @@ class add_mesh_honeycomb(bpy.types.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') diff --git a/add_mesh_extra_objects/add_mesh_pipe_joint.py b/add_mesh_extra_objects/add_mesh_pipe_joint.py index 65876136..98421331 100644 --- a/add_mesh_extra_objects/add_mesh_pipe_joint.py +++ b/add_mesh_extra_objects/add_mesh_pipe_joint.py @@ -259,6 +259,7 @@ class AddElbowJoint(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') @@ -524,6 +525,7 @@ class AddTeeJoint(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') @@ -806,6 +808,7 @@ class AddWyeJoint(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') @@ -1152,6 +1155,7 @@ class AddCrossJoint(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') @@ -1393,6 +1397,7 @@ class AddNJoint(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') diff --git a/add_mesh_extra_objects/add_mesh_pyramid.py b/add_mesh_extra_objects/add_mesh_pyramid.py index c70988b7..405e6eaf 100644 --- a/add_mesh_extra_objects/add_mesh_pyramid.py +++ b/add_mesh_extra_objects/add_mesh_pyramid.py @@ -194,6 +194,7 @@ class AddPyramid(bpy.types.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') diff --git a/add_mesh_extra_objects/add_mesh_round_brilliant.py b/add_mesh_extra_objects/add_mesh_round_brilliant.py index bdd9b68c..e50a1dbe 100644 --- a/add_mesh_extra_objects/add_mesh_round_brilliant.py +++ b/add_mesh_extra_objects/add_mesh_round_brilliant.py @@ -465,6 +465,7 @@ class MESH_OT_primitive_brilliant_add(Operator, object_utils.AddObjectHelper): ) 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') diff --git a/add_mesh_extra_objects/add_mesh_round_cube.py b/add_mesh_extra_objects/add_mesh_round_cube.py index 3c261908..1190be93 100644 --- a/add_mesh_extra_objects/add_mesh_round_cube.py +++ b/add_mesh_extra_objects/add_mesh_round_cube.py @@ -441,6 +441,7 @@ class AddRoundCube(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') diff --git a/add_mesh_extra_objects/add_mesh_star.py b/add_mesh_extra_objects/add_mesh_star.py index 30573864..b5d515c6 100644 --- a/add_mesh_extra_objects/add_mesh_star.py +++ b/add_mesh_extra_objects/add_mesh_star.py @@ -256,6 +256,7 @@ class AddStar(bpy.types.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') diff --git a/add_mesh_extra_objects/add_mesh_supertoroid.py b/add_mesh_extra_objects/add_mesh_supertoroid.py index af63ca2a..fabc8147 100644 --- a/add_mesh_extra_objects/add_mesh_supertoroid.py +++ b/add_mesh_extra_objects/add_mesh_supertoroid.py @@ -274,6 +274,7 @@ class add_supertoroid(bpy.types.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') diff --git a/add_mesh_extra_objects/add_mesh_torusknot.py b/add_mesh_extra_objects/add_mesh_torusknot.py index ac666289..30957f7a 100644 --- a/add_mesh_extra_objects/add_mesh_torusknot.py +++ b/add_mesh_extra_objects/add_mesh_torusknot.py @@ -177,6 +177,7 @@ class AddTorusKnot(bpy.types.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') diff --git a/add_mesh_extra_objects/add_mesh_twisted_torus.py b/add_mesh_extra_objects/add_mesh_twisted_torus.py index ba6b4fc1..0502a189 100644 --- a/add_mesh_extra_objects/add_mesh_twisted_torus.py +++ b/add_mesh_extra_objects/add_mesh_twisted_torus.py @@ -287,6 +287,7 @@ class AddTwistedTorus(bpy.types.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') |