From 7a05c44ce1e549fdf53c662328e52cce79f7fabb Mon Sep 17 00:00:00 2001 From: Emma Broman Date: Tue, 3 May 2022 15:29:03 +0200 Subject: [PATCH] Update some property names for more consistent capitalization --- modules/skybrowser/skybrowsermodule.cpp | 6 +++--- modules/skybrowser/src/screenspaceskybrowser.cpp | 6 +++--- src/rendering/screenspacerenderable.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/skybrowser/skybrowsermodule.cpp b/modules/skybrowser/skybrowsermodule.cpp index 0dfaa533b5..bb0644288f 100644 --- a/modules/skybrowser/skybrowsermodule.cpp +++ b/modules/skybrowser/skybrowsermodule.cpp @@ -76,13 +76,13 @@ namespace { constexpr const openspace::properties::Property::PropertyInfo BrowserSpeedInfo = { "BrowserAnimationSpeed", - "Field Of View Animation Speed", + "Field of View Animation Speed", "This determines the speed of the animation of the field of view in the browser." }; constexpr const openspace::properties::Property::PropertyInfo HideWithGuiInfo = { "HideTargetsBrowsersWithGui", - "Hide Targets And Browsers With GUI", + "Hide Targets and Browsers with GUI", "If checked, the targets and browsers will be disabled when the sky browser " "panel is minimized." }; @@ -152,7 +152,7 @@ SkyBrowserModule::SkyBrowserModule() , _hideTargetsBrowsersWithGui(HideWithGuiInfo, false) , _inverseZoomDirection(InverseZoomInfo, false) , _spaceCraftAnimationTime(SpaceCraftTimeInfo, 2.0, 0.0, 10.0) - , _wwtImageCollectionUrl(ImageCollectionInfo, + , _wwtImageCollectionUrl(ImageCollectionInfo, "https://data.openspaceproject.com/wwt/1/imagecollection.wtml") { addProperty(_enabled); diff --git a/modules/skybrowser/src/screenspaceskybrowser.cpp b/modules/skybrowser/src/screenspaceskybrowser.cpp index 92eb1db53d..2fe122e282 100644 --- a/modules/skybrowser/src/screenspaceskybrowser.cpp +++ b/modules/skybrowser/src/screenspaceskybrowser.cpp @@ -50,7 +50,7 @@ namespace { constexpr const openspace::properties::Property::PropertyInfo RenderCopyInfo = { "RenderCopy", - "Position Of A Copy Of The Sky Browser", + "Position of a Copy of the Sky Browser", "Render a copy of this sky browser at an additional position. This copy will not " "be interactive. The position is in RAE (Radius, Azimuth, Elevation) coordinates " "or Cartesian, depending on if the browser uses RAE or Cartesian coordinates." @@ -64,7 +64,7 @@ namespace { constexpr const openspace::properties::Property::PropertyInfo IsHiddenInfo = { "IsHidden", - "Is hidden", + "Is Hidden", "If checked, the browser will be not be displayed. If it is not checked, it will " "be." }; @@ -252,7 +252,7 @@ ScreenSpaceSkyBrowser::renderCopies() const } std::vector> -ScreenSpaceSkyBrowser::showRenderCopies() const +ScreenSpaceSkyBrowser::showRenderCopies() const { std::vector> vec; using boolProperty = std::unique_ptr; diff --git a/src/rendering/screenspacerenderable.cpp b/src/rendering/screenspacerenderable.cpp index 993cc14e0e..a5ca28d053 100644 --- a/src/rendering/screenspacerenderable.cpp +++ b/src/rendering/screenspacerenderable.cpp @@ -73,7 +73,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo CartesianPositionInfo = { "CartesianPosition", - "Cartesian coordinates", + "Cartesian Coordinates", "This value determines the position of this screen space plane in Cartesian " "three-dimensional coordinates (meters)." }; @@ -88,7 +88,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo ScaleInfo = { "Scale", - "Scale value", + "Scale Value", "This value determines a scale factor for the plane. The default size of a plane " "is determined by the concrete instance and reflects, for example, the size of " "the image being displayed." @@ -96,7 +96,7 @@ namespace { constexpr openspace::properties::Property::PropertyInfo LocalRotationInfo = { "Rotation", - "Local rotation", + "Local Rotation", "An euler rotation (x, y, z) to apply to the plane." };