[Bf-extensions-cvs] [2e293186] master: xedit: fix bmesh bug in set meas
NBurn
noreply at git.blender.org
Sun May 12 10:22:08 CEST 2019
Commit: 2e2931867a5ccb455e16e0ccf19d77530fb5e69a
Author: NBurn
Date: Sun May 12 04:21:09 2019 -0400
Branches: master
https://developer.blender.org/rBAC2e2931867a5ccb455e16e0ccf19d77530fb5e69a
xedit: fix bmesh bug in set meas
===================================================================
M exact_edit/xedit_set_meas.py
===================================================================
diff --git a/exact_edit/xedit_set_meas.py b/exact_edit/xedit_set_meas.py
index c243bde1..1efc7023 100644
--- a/exact_edit/xedit_set_meas.py
+++ b/exact_edit/xedit_set_meas.py
@@ -1259,7 +1259,7 @@ def do_rotate(self):
if v.select:
v.co = pivot + (rot_matr @ (v.co - pivot))
- bmesh.update_edit_mesh(bm)
+ bmesh.update_edit_mesh(bpy.context.edit_object.data)
elif mode == "OBJECT":
for ob in bpy.context.selected_objects:
@@ -1313,7 +1313,6 @@ def do_rotate_old(self):
elif axis_lock == 'Y': ops_lock = 0, 1, 0
elif axis_lock == 'Z': ops_lock = 0, 0, 1
- #if bpy.context.mode == "OBJECT":
bpy.ops.transform.rotate(value=RotDat.ang_diff_r, axis=ops_lock,
constraint_axis=(False, False, False))
More information about the Bf-extensions-cvs
mailing list