diff --git a/data/scene/milkyway/milkyway.mod b/data/scene/milkyway/milkyway.mod index 49c07a217c..0e84178339 100644 --- a/data/scene/milkyway/milkyway.mod +++ b/data/scene/milkyway/milkyway.mod @@ -6,6 +6,7 @@ return { Type = "RenderableSphere", Size = 10E22, Segments = 40, + Alpha = 0.2, Texture = "textures/DarkUniverse_mellinger_8k.jpg", Orientation = "Inside/Outside" } diff --git a/modules/space/rendering/renderablerings.cpp b/modules/space/rendering/renderablerings.cpp index 5c8c584d5d..646716317c 100644 --- a/modules/space/rendering/renderablerings.cpp +++ b/modules/space/rendering/renderablerings.cpp @@ -120,8 +120,7 @@ documentation::Documentation RenderableRings::Documentation() { TransparencyInfo.description, Optional::Yes } - }, - Exhaustive::Yes + } }; } diff --git a/modules/space/rendering/simplespheregeometry.cpp b/modules/space/rendering/simplespheregeometry.cpp index 27c2f8a393..88dff332cf 100644 --- a/modules/space/rendering/simplespheregeometry.cpp +++ b/modules/space/rendering/simplespheregeometry.cpp @@ -53,12 +53,6 @@ documentation::Documentation SimpleSphereGeometry::Documentation() { "SimpleSphereGeometry", "space_geometry_simplesphere", { - { - "Type", - new StringEqualVerifier("SimpleSphereGeometry"), - "", - Optional::No - }, { RadiusInfo.identifier, new OrVerifier( @@ -74,8 +68,7 @@ documentation::Documentation SimpleSphereGeometry::Documentation() { SegmentsInfo.description, Optional::No } - }, - Exhaustive::Yes + } }; } @@ -102,7 +95,7 @@ SimpleSphereGeometry::SimpleSphereGeometry(const ghoul::Dictionary& dictionary) _radius = dictionary.value(RadiusInfo.identifier); } - _segments = dictionary.value(SegmentsInfo.identifier); + _segments = static_cast(dictionary.value(SegmentsInfo.identifier)); // The shader need the radii values but they are not changeable runtime // TODO: Possibly add a scaling property @AA