Skip to content

Commit

Permalink
Fixes a major regression where the scene wasn't updating in interacti…
Browse files Browse the repository at this point in the history
…ve render.
  • Loading branch information
boberfly committed Oct 5, 2020
1 parent b3d56e2 commit 31e0eed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/GafferCycles/IECoreCyclesPreview/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4019,6 +4019,14 @@ class CyclesRenderer final : public IECoreScenePreview::Renderer
m_session->set_pause( m_pause );
return;
}
else
{
// Scene needs a full update, but because we called updateCamera()
// already we need to make sure to tag the camera so it does update
// in the later steps.
m_scene->camera->tag_update();
}

}

while( true )
Expand Down

0 comments on commit 31e0eed

Please sign in to comment.