:tocdepth: 2

##############
Envision 2.4
##############

August 21, 2024 - SHA: 19460d9e

|web| Envision for Web        |desktop| Envision for Desktop

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

CAE-1267 Complement of visible element sets not working properly |web| |desktop|
================================================================================

Fixed an issue with the complement of visible element sets not working correctly for expanded elements.


CAE-1390 VectorSettings.setAsProperties returning empty object for anisotropicScaleFactor |web|
===============================================================================================

Fix ``VectorSettings.getAsProperties`` to return undefined if ``anisotropicScaleFactor`` is undefined.


CAE-1374 Model rotation point is not properly initialized |web|
===============================================================

Decouple rotation point initialization and camera initialization. Made sure a default rotation point is properly set 
for the model.


CAE-1388 Very small displacement are not displayed correctly on model load |web| |desktop|
==========================================================================================

Improve visualization of very small model displacements by using the corresponding vector result instead.


*************
New Features
*************

CAE-1236 Custom tick mark labels on continuous color legend |web| 
=================================================================

This feature allows a user to specify custom tick marks on a continuous legend in Envision Web.

A new field has been added to the ``ug.ScalarSettings`` class: ``ug.ScalarSettings.customContinuousTickMarkArr``. 
Previously and by default, when a continuous legend is used by setting ``ug.ScalarSettings.levelCount = 0``, the tick 
marks are distributed on round numbers, and include the min/max values for the legend. By specifying an array of values 
with ``ug.ScalarSettings.setCustomContinuousTickMarks``, tick marks will be rendered at the provided values, provided 
they are within range. If an empty or undefined array is provided, the tick marks will be on round numbers.

.. image:: ../images/release-notes/cae1236.png


CAE-1313 Update LodePNG library |desktop|
=========================================

Updated to latest version of the LodePNG library.

https://github.com/lvandeve/lodepng



CAE-1389 Added option to disable element expansion |web| |desktop|
==================================================================

Added option to disable element expansion, causing beams to be rendered as lines even if they have cross section 
information.

Added ``cee.ug.PartSettings.disableExpandElements`` and ``cee::ug::PartSettings::disableExpandElements(bool disable)``


CAE-1391 Update queryResultMinMax to account for element set visibility |web|
=============================================================================

Expands the capability of ``cee.ug.queryResultMinMax.executeQueryVisibleParts`` by taking into account any element 
visibility (i.e. visible element sets, scalar filtering), in addition to the existing part settings visibility.


------------------------------------------------

*******
Patches
*******

Envision 2.4.1
==============

October 22, 2024 - SHA: d59b2316


CAE-1392: Fix two finger touch move on android |web|
----------------------------------------------------

Two-finger gestures on Android no longer throw an error occasionally while initializing the navigation


CAE-1415: VTU - Improved file identification |web| |desktop|
------------------------------------------------------------

Improve identification of VTU files to handle both '' and "" around attribute values in the header.