Change name from SpeckLabels to LabelsComponent

This commit is contained in:
Malin E
2022-09-08 10:08:39 +02:00
parent 6478f0a92c
commit 0d6f4ecac0
10 changed files with 35 additions and 35 deletions
@@ -85,7 +85,7 @@ namespace {
// [[codegen::verbatim(LabelsInfo.description)]]
std::optional<ghoul::Dictionary> labels
[[codegen::reference("space_specklabels")]];
[[codegen::reference("space_labelscomponent")]];
};
#include "renderableconstellationsbase_codegen.cpp"
} // namespace
@@ -122,7 +122,7 @@ RenderableConstellationsBase::RenderableConstellationsBase(const ghoul::Dictiona
_drawLabels = p.drawLabels.value_or(_drawLabels);
addProperty(_drawLabels);
_labels = std::make_unique<speck::SpeckLabels>(*p.labels);
_labels = std::make_unique<speck::LabelsComponent>(*p.labels);
_hasLabels = true;
addPropertySubOwner(_labels.get());
}