Skip to content

Commit

Permalink
Merge pull request #1925 from ghutchis/fix-align-bug
Browse files Browse the repository at this point in the history
Fix bug with alignment tool resetting atoms but not redrawing
  • Loading branch information
ghutchis authored Jan 8, 2025
2 parents b1c67dd + f8f2108 commit 38071a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions avogadro/qtplugins/aligntool/aligntool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ void AlignTool::align()
shiftAtomToOrigin(m_atoms[0].index);
if (m_atoms.size() == 2)
alignAtomToAxis(m_atoms[1].index, m_axis);

m_atoms.clear();
}

void AlignTool::shiftAtomToOrigin(Index atomIndex)
Expand Down

0 comments on commit 38071a5

Please sign in to comment.