mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-30 07:49:31 -05:00
Fix height mapping bugs in renderable planet
This commit is contained in:
@@ -236,6 +236,7 @@ RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
|
||||
if (dictionary.hasKey(PerformShadingInfo.identifier)) {
|
||||
_performShading = dictionary.value<bool>(PerformShadingInfo.identifier);
|
||||
}
|
||||
addProperty(_performShading);
|
||||
|
||||
addPropertySubOwner(_geometry.get());
|
||||
|
||||
@@ -256,11 +257,6 @@ RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
|
||||
}
|
||||
addProperty(_heightExaggeration);
|
||||
|
||||
if (dictionary.hasKey(HeightExaggerationInfo.identifier)) {
|
||||
_performShading = dictionary.value<bool>(HeightExaggerationInfo.identifier);
|
||||
}
|
||||
addProperty(_performShading);
|
||||
|
||||
//================================================================
|
||||
//======== Reads Shadow (Eclipses) Entries in mod file ===========
|
||||
//================================================================
|
||||
|
||||
Reference in New Issue
Block a user