mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
We were using the Qgs3dMapSettings::terrainGenerator for two different purposes -- one was to retrieve the settings of the generator, and the other was as a shortcut to determine if the terrain was enabled and a generator set. Disambiguate this and avoid a crash when terrain rendering is disabled in the 3d map settings