BugFix deep update views (depth and layout) and crop.

This commit is contained in:
brunoherbelin
2020-12-08 23:04:12 +01:00
parent 1677582034
commit b7a54d0512
8 changed files with 28 additions and 30 deletions

View File

@@ -166,7 +166,6 @@ void SessionSource::init()
initialized_ = true;
Log::Info("New Session created.");
}
}
}
@@ -175,10 +174,8 @@ void SessionSource::init()
Node *loader = overlays_[View::TRANSITION]->back();
overlays_[View::TRANSITION]->detach(loader);
delete loader;
// deep update to reorder
View::need_deep_update_++;
session_->update(dt_);
}
}
@@ -256,9 +253,11 @@ void RenderSource::init()
// set the renderbuffer of the source and attach rendering nodes
attach(renderbuffer);
// deep update to reorder
View::need_deep_update_++;
// done init
initialized_ = true;
Log::Info("Source Render linked to session (%d x %d).", int(fb->resolution().x), int(fb->resolution().y) );
}
}