
.. _section_shapetk_releasenotes_183:

Shape TK 1.8.3
================================================================================

New features
--------------------------------------------------------------------------------

* :oe:meth:`OEShape::OEColorForceField::GetTypes` method added to
  return an iterator of the integer color forcefield types.

Minor bug fixes
--------------------------------------------------------------------------------

* :oe:func:`OEShape::OEAddColorAtoms` was setting an internal flag incorrectly such that :oe:func:`OEShape::OEHasColorAtoms` would return ``true`` even if no color atoms were added. This has been fixed.

* :oe:func:`OEShape::OEAddColorAtom` corrected to also set internal flags regarding presence of color atoms.

* :oe:const:`OEShape::OEBOOrientation::InertialAtHeavyAtoms` will now use the center-of-mass as a startpoint in addition to all heavy atoms.  The constant is an option
  for :oe:meth:`OEShape::OEBestOverlay::SetInitialOrientation`.

* :oe:const:`OEShape::OEBOOrientation::UserInertialStarts` will now work with the reference being a grid.
