message: Use the selected attribute on the atoms
  The local list of hits is not necessaily up to date with the state of
  atom selection in the molecule. Use the state from the atom to more
  intuitively set colors.
diff: @@ -198,8 +198,10 @@ void SelectionTool::draw(Rendering::GroupNode& node)
  void SelectionTool::applyColor(Vector3ub color)
  {
  - for (Rendering::Identifier& atom : m_atoms) {
  - m_molecule->atom(atom.index).setColor(color);
  + for (Index i = 0; i < m_molecule->atomCount(); ++i) {
  + auto a = m_molecule->atom(i);
  + if (a.selected())
  + a.setColor(color);
  }
  m_molecule->emitChanged(Molecule::Atoms);
  }
  