#################
|HCTHEN| 2024.7.0
#################

|HCTHEN| 2024.7.0 is based on HOOPS Visualize 2024.7.0, HOOPS Exchange 2024.7.0, and HOOPS Publish 2024.7.0.


************
Enhancements
************

**Point Lights Viewer support** Support was added for point lights in the viewer, in opposition to directional light.

.. note:: 

    There are API changes related to this support. See below under **API Changes** for a complete list.


***********
API Changes
***********


**Point Lights Viewer Support** There are several API changes related to the Point Lights Viewer support. This includes changes to ``Light`` and ``getLight``, as follows:

* ``Light`` is now a generic light type, with specifics being:

    - ``DirectionalLight``
    - ``PointLight``

* ``getLight(key:LightKey)`` method will return the appropriate type accordingly

* New methods added:

    - ``addPointLight(light:PointLight)``
    - ``setLightPower(viewKey: ViewKey, key: LightKey, power: number)``
    - ``setLightDecay(viewKey: ViewKey, key: LightKey, decay: number)``

* The interface formerly named ``Light`` was renamed to ``ILight`` for consistency

Please see the :doc:`Web Viewer API Reference </api_ref/viewing/index>` for more information.


**********
Fixed Bugs
**********

As of |today|

.. csv-table::
    :header: "Issue", "Description"

    "SDHC-19740", "File can be successfully converted from JT to SCS"
    "SDHC-19691", "Phong rendering results match the Open Scene Graph"
    "SDHC-19467", "Fixed update_license.sh script instructions"
    "SDHC-19160", "Perpendicularity symbol imports from the NX file's graphical PMI"
    "SDHC-19142", "When selected, JT views apply to the node visibility"