mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 09:59:44 -05:00
Remove startup warnings
This commit is contained in:
@@ -120,8 +120,7 @@ documentation::Documentation RenderableRings::Documentation() {
|
||||
TransparencyInfo.description,
|
||||
Optional::Yes
|
||||
}
|
||||
},
|
||||
Exhaustive::Yes
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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<glm::vec3>(RadiusInfo.identifier);
|
||||
}
|
||||
|
||||
_segments = dictionary.value<int>(SegmentsInfo.identifier);
|
||||
_segments = static_cast<int>(dictionary.value<double>(SegmentsInfo.identifier));
|
||||
|
||||
// The shader need the radii values but they are not changeable runtime
|
||||
// TODO: Possibly add a scaling property @AA
|
||||
|
||||
Reference in New Issue
Block a user