Add ScreenSpaceRenderableRenderable class (#3575)

This commit is contained in:
Alexander Bock
2025-04-01 12:45:35 +02:00
committed by GitHub
parent 070d1180e5
commit 80955e3ec1
14 changed files with 540 additions and 30 deletions
+2 -1
View File
@@ -302,7 +302,8 @@ void PropertyOwner::addPropertySubOwner(openspace::properties::PropertyOwner* ow
const bool hasProp = hasProperty(owner->identifier());
if (hasProp) {
LERROR(std::format(
"PropertyOwner '{}'s name already names a Property", owner->identifier()
"PropertyOwner '{}'s identifier is already in use for a Property",
owner->identifier()
));
return;
}
+1 -1
View File
@@ -924,7 +924,7 @@ void SceneGraphNode::renderDebugSphere(const Camera& camera, double size,
void SceneGraphNode::setParent(SceneGraphNode& parent) {
ghoul_assert(_parent != nullptr, "Node must be attached to a parent");
parent.attachChild(_parent->detachChild(*this));
_parent = &parent;
}
void SceneGraphNode::attachChild(ghoul::mm_unique_ptr<SceneGraphNode> child) {