Skip to content

Commit

Permalink
Merge branch 'release-0.5.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
egtwobits committed May 28, 2019
2 parents 4c583e0 + cec3e30 commit 8b50479
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion mesh_mesh_align_plus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"based on geometry and measurements from your scene."
),
"author": "Eric Gentry",
"version": (0, 5, 2),
"version": (0, 5, 3),
"blender": (2, 80, 0),
"location": (
"3D View > N Panel > Mesh Align Plus tab, and"
Expand Down
4 changes: 2 additions & 2 deletions mesh_mesh_align_plus/align_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def execute(self, context):
item.rotation_euler.rotate(
rotational_diff
)
bpy.context.scene.update()
bpy.context.view_layer.update()

# put the original line starting point (before the object
# was rotated) into the local object space
Expand All @@ -169,7 +169,7 @@ def execute(self, context):
item.location = (
item.location + pivot_to_dest
)
bpy.context.scene.update()
bpy.context.view_layer.update()

else:
for item in multi_edit_targets:
Expand Down
6 changes: 3 additions & 3 deletions mesh_mesh_align_plus/align_planes.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,13 @@ def execute(self, context):
item.rotation_euler.rotate(
rotational_diff
)
bpy.context.scene.update()
bpy.context.view_layer.update()

# Parallelize the leading edges
item.rotation_euler.rotate(
parallelize_edges
)
bpy.context.scene.update()
bpy.context.view_layer.update()

# get local coords using active object as basis, in
# other words, determine coords of the source pivot
Expand Down Expand Up @@ -239,7 +239,7 @@ def execute(self, context):
item.location +
pivot_to_dest
)
bpy.context.scene.update()
bpy.context.view_layer.update()

else:
for item in multi_edit_targets:
Expand Down
2 changes: 1 addition & 1 deletion mesh_mesh_align_plus/axis_rotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def execute(self, context):

# Perform the rotation (axis will be realigned later)
item.rotation_euler.rotate(axis_rot)
bpy.context.scene.update()
bpy.context.view_layer.update()

# put the original line starting point (before the object
# was rotated) into the local object space
Expand Down
4 changes: 2 additions & 2 deletions mesh_mesh_align_plus/scale_match_edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def execute(self, context):
scale_factor * num
for num in item.scale
]
bpy.context.scene.update()
bpy.context.view_layer.update()

# put the original line starting point (before the object
# was transformed) into the local object space
Expand All @@ -227,7 +227,7 @@ def execute(self, context):
item.location = (
item.location + new_to_old_pivot
)
bpy.context.scene.update()
bpy.context.view_layer.update()

else:
for item in multi_edit_targets:
Expand Down

0 comments on commit 8b50479

Please sign in to comment.