mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 08:49:20 -05:00
Add ScreenSpaceRenderableRenderable class (#3575)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user