PDT: Fix "Move Vertices to Absolute Location" operation
System would not move selected vertices to an absolute location in Edit Mode. This was caused by system not recognising selected vertices.
This commit is contained in:
parent
e2516bfae6
commit
40a9d56b1e
|
@ -613,7 +613,7 @@ def move_entities(context, pg, operation, mode, obj, bm, verts, values):
|
|||
except:
|
||||
raise PDT_InvalidVector
|
||||
if obj.mode == "EDIT":
|
||||
for v in verts:
|
||||
for v in [v for v in bm.verts if v.select]:
|
||||
v.co = vector_delta - obj_loc
|
||||
bmesh.ops.remove_doubles(
|
||||
bm, verts=[v for v in bm.verts if v.select], dist=0.0001
|
||||
|
|
Loading…
Reference in New Issue