[core] Load sources only if there is at least one visible layer

This commit is contained in:
Bruno de Oliveira Abinader
2015-12-15 16:06:34 -08:00
parent 5a63ce5576
commit 93725e062a
8 changed files with 27 additions and 15 deletions

View File

@@ -51,6 +51,8 @@ public:
data_.setAnimationTime(now);
transform_.updateTransitions(now);
style_->cascade();
style_->recalculate(16);
style_->update(transform_.getState(), texturePool_);
}