Removed duplicated documentation for vec4 color

This commit is contained in:
Lovisa Hassler
2020-09-28 16:02:39 +02:00
parent 83a8d7f018
commit ceb5c85e5c
+1 -7
View File
@@ -206,12 +206,6 @@ documentation::Documentation RenderableLabels::Documentation() {
Optional::Yes,
LabelColorInfo.description,
},
{
LabelColorInfo.identifier,
new DoubleVector4Verifier,
Optional::Yes,
LabelColorInfo.description,
},
{
LabelTextInfo.identifier,
new StringVerifier,
@@ -397,7 +391,7 @@ RenderableLabels::RenderableLabels(const ghoul::Dictionary& dictionary)
_labelColor.setViewOption(properties::Property::ViewOptions::Color);
if (dictionary.hasKey(LabelColorInfo.identifier)) {
_labelColor = dictionary.value<glm::vec4>(LabelColorInfo.identifier);
_labelColor = dictionary.value<glm::vec3>(LabelColorInfo.identifier);
}
addProperty(_labelColor);