diff --git a/modules/base/dashboard/dashboarditemangle.cpp b/modules/base/dashboard/dashboarditemangle.cpp index 914968f575..73c311e386 100644 --- a/modules/base/dashboard/dashboarditemangle.cpp +++ b/modules/base/dashboard/dashboarditemangle.cpp @@ -168,11 +168,6 @@ DashboardItemAngle::DashboardItemAngle(const ghoul::Dictionary& dictionary) { Type::Focus, "Focus" }, { Type::Camera, "Camera" } }); - _source.type.onChange([this]() { - _source.nodeName.setVisibility( - properties::Property::Visibility(_source.type == Type::Node) - ); - }); if (p.sourceType.has_value()) { _source.type = codegen::map(*p.sourceType); } @@ -201,11 +196,6 @@ DashboardItemAngle::DashboardItemAngle(const ghoul::Dictionary& dictionary) { Type::Focus, "Focus" }, { Type::Camera, "Camera" } }); - _reference.type.onChange([this]() { - _reference.nodeName.setVisibility( - properties::Property::Visibility(_reference.type == Type::Node) - ); - }); _reference.type = codegen::map(p.referenceType); addProperty(_reference.type); @@ -228,11 +218,6 @@ DashboardItemAngle::DashboardItemAngle(const ghoul::Dictionary& dictionary) { Type::Focus, "Focus" }, { Type::Camera, "Camera" } }); - _destination.type.onChange([this]() { - _destination.nodeName.setVisibility( - properties::Property::Visibility(_source.type == Type::Node) - ); - }); if (p.destinationType.has_value()) { _destination.type = codegen::map(*p.destinationType); } diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index faef75366d..843da3735e 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -169,11 +169,11 @@ OpenSpaceEngine::OpenSpaceEngine() using Visibility = openspace::properties::Property::Visibility; _visibility.addOptions({ - { static_cast(Visibility::NoviceUser), "Novice User"}, - { static_cast(Visibility::User), "User"}, - { static_cast(Visibility::AdvancedUser), "Advanced User"}, - { static_cast(Visibility::Developer), "Developer"}, - { static_cast(Visibility::Hidden), "Everything"}, + { static_cast(Visibility::NoviceUser), "Novice User" }, + { static_cast(Visibility::User), "User" }, + { static_cast(Visibility::AdvancedUser), "Advanced User" }, + { static_cast(Visibility::Developer), "Developer" }, + { static_cast(Visibility::Hidden), "Everything" }, }); }