Fix clone tool not resetting offset when used a second time.

This commit is contained in:
David Vierra 2015-10-04 00:30:30 -10:00
parent dbc62d5a7f
commit e24aebd2d0

View File

@ -200,6 +200,7 @@ class CloneTool(EditorTool):
# blocks will be moved.
pos = self.editorSession.currentSelection.origin
self.originPoint = pos
self.offsetPoint = pos
pendingImport = PendingImport(self.editorSession.currentDimension, pos,
self.editorSession.currentSelection,
self.tr("<Cloned Object>"))