Skip to content
Snippets Groups Projects

Implements #287 independent rendering

Merged Nicolas Pope requested to merge feature/287/indierender into master
2 files
+ 12
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -276,9 +276,9 @@ void ftl::gui::Camera::update(ftl::rgbd::FrameSet &fs) {
@@ -276,9 +276,9 @@ void ftl::gui::Camera::update(ftl::rgbd::FrameSet &fs) {
name_ = "Virtual Camera";
name_ = "Virtual Camera";
// Do a draw if not active. If active the draw function will be called
// Do a draw if not active. If active the draw function will be called
// directly.
// directly.
//if (screen_->activeCamera() != this) {
if (screen_->activeCamera() != this) {
_draw(fs);
_draw(fs);
//}
}
} else {
} else {
if (fid_ >= fs.frames.size()) return;
if (fid_ >= fs.frames.size()) return;
frame = &fs.frames[fid_];
frame = &fs.frames[fid_];
Loading