Start addressing PR comments

This commit is contained in:
Malin E
2022-09-22 12:01:01 +02:00
parent 34aa515f16
commit ac79e4dc07
14 changed files with 31 additions and 56 deletions

View File

@@ -214,11 +214,7 @@ void RenderableConstellationsBase::initialize() {
}
bool RenderableConstellationsBase::isReady() const {
// If we have labels, they also need to be loaded
if (_hasLabels) {
return _labels->isReady();
}
return true;
return _hasLabels ? _labels->isReady() : true;
}
void RenderableConstellationsBase::render(const RenderData& data, RendererTasks&) {