Implementation of source frame buffer; rendering of source and scene

integration
This commit is contained in:
brunoherbelin
2020-04-25 11:52:47 +02:00
parent 9b3eba8d1e
commit 0e24d1a083
19 changed files with 283 additions and 109 deletions

View File

@@ -289,6 +289,11 @@ void Switch::removeChild(Node *child)
}
void Switch::unsetActiveChild ()
{
active_ == children_.end();
}
void Switch::setActiveChild(Node *child)
{
setActiveChild( std::find_if(children_.begin(), children_.end(), hasId(child->id())) );