Align import positions to the block grid

This commit is contained in:
David Vierra 2015-10-14 13:29:51 -10:00
parent ca9617bb57
commit 8edd6c8efe

View File

@ -245,7 +245,7 @@ class CloneTool(EditorTool):
offset = offsetPoint - self.originPoint
for i in range(self.repeatCount):
pos = pos + offset
yield pos, rotations
yield pos.intfloor(), rotations
if rotateRepeats:
rotations = [a+b for a,b in zip(rotations, baseRotations)]
if rotateOffsets: