Skip to content

Commit 38071a5

Browse files
authored
Merge pull request #1925 from ghutchis/fix-align-bug
Fix bug with alignment tool resetting atoms but not redrawing
2 parents b1c67dd + f8f2108 commit 38071a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

avogadro/qtplugins/aligntool/aligntool.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ void AlignTool::align()
140140
shiftAtomToOrigin(m_atoms[0].index);
141141
if (m_atoms.size() == 2)
142142
alignAtomToAxis(m_atoms[1].index, m_axis);
143-
144-
m_atoms.clear();
145143
}
146144

147145
void AlignTool::shiftAtomToOrigin(Index atomIndex)

0 commit comments

Comments
 (0)