Amerio.Stephane Posted December 20, 2024 Posted December 20, 2024 Hi, In 2.19 (maybe since 2.18?), the addon IG Aviation/TerrainSurfaceSettings is missing the query of the landscape mask. (was in line 53 of TerrainSurfaceSettings.cpp) ... for (auto &it : landscape_info) { float v = landscape_fetch->getMask(it.mask); // find the most intense mask if (v > max_value) { if (ret_info) { ret_info->normal = landscape_fetch->getNormal(); ret_info->point = pos; ret_info->point.z = landscape_fetch->getHeight(); ret_info->object = landscape; //ret_info->landscape_mask = it.mask; // NO LONGER HERE in 2.19 code... } max_value = v; ret = it.type; } } ... How can we retrieve this back?
silent Posted December 24, 2024 Posted December 24, 2024 Hi Stephane, We have reviewed earlier versions of the IG Aviation add-on (starting from 2.16) and could not locate any code that returns landscape mask data. Is there a possibility that you manually modified this code in version 2.16 and have been using it consistently since then? If so, you will need to restore it in version 2.19.1 and continue using it as you did previously. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts