mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
work in progress: Mixer manage creation of sources
Views displayed independently
This commit is contained in:
@@ -175,7 +175,11 @@ void Primitive::deleteGLBuffers_()
|
||||
|
||||
Group::~Group()
|
||||
{
|
||||
children_.clear();
|
||||
// for(auto it = children_.begin(); it != children_.end(); )
|
||||
// it = children_.erase(it);
|
||||
// TODO vrify that desctructor of node is called
|
||||
children_.erase(children_.begin(), children_.end());
|
||||
|
||||
}
|
||||
|
||||
void Group::update( float dt )
|
||||
@@ -354,7 +358,7 @@ void Animation::update( float dt )
|
||||
|
||||
void Animation::accept(Visitor& v)
|
||||
{
|
||||
Node::accept(v);
|
||||
Group::accept(v);
|
||||
v.visit(*this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user