Skip to content

Commit

Permalink
Merge pull request #7700 from aangerma/DSO-12584
Browse files Browse the repository at this point in the history
Fixed playback Resuming on 3D viewer
  • Loading branch information
ev-mp authored Nov 3, 2020
2 parents 20d16c4 + 564b89b commit 2917be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/model-views.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,7 @@ namespace rs2

std::shared_ptr<texture_buffer> stream_model::upload_frame(frame&& f)
{
if (dev && dev->is_paused() && !dev->dev.is<playback>()) return nullptr;
if (dev && dev->is_paused()) return nullptr;

last_frame = std::chrono::high_resolution_clock::now();

Expand Down Expand Up @@ -4014,7 +4014,7 @@ namespace rs2
if (s->streaming)
s->resume();
}

viewer.paused = false;
p.resume();
}

Expand Down

0 comments on commit 2917be4

Please sign in to comment.