mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 11:18:22 -05:00
Remove unintentional default value for skybrowser/exoplanet module enabled property (closes #2464)
This commit is contained in:
@@ -237,7 +237,7 @@ SkyBrowserModule::SkyBrowserModule()
|
||||
void SkyBrowserModule::internalInitialize(const ghoul::Dictionary& dict) {
|
||||
const Parameters p = codegen::bake<Parameters>(dict);
|
||||
|
||||
_enabled = p.enabled.value_or(true);
|
||||
_enabled = p.enabled.value_or(_enabled);
|
||||
_allowCameraRotation = p.allowCameraRotation.value_or(_allowCameraRotation);
|
||||
_cameraRotationSpeed = p.cameraRotSpeed.value_or(_cameraRotationSpeed);
|
||||
_targetAnimationSpeed = p.targetSpeed.value_or(_targetAnimationSpeed);
|
||||
|
||||
Reference in New Issue
Block a user