Skip to content

Commit 31e0eed

Browse files
committed
Fixes a major regression where the scene wasn't updating in interactive render.
1 parent b3d56e2 commit 31e0eed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/GafferCycles/IECoreCyclesPreview/Renderer.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4019,6 +4019,14 @@ class CyclesRenderer final : public IECoreScenePreview::Renderer
40194019
m_session->set_pause( m_pause );
40204020
return;
40214021
}
4022+
else
4023+
{
4024+
// Scene needs a full update, but because we called updateCamera()
4025+
// already we need to make sure to tag the camera so it does update
4026+
// in the later steps.
4027+
m_scene->camera->tag_update();
4028+
}
4029+
40224030
}
40234031

40244032
while( true )

0 commit comments

Comments
 (0)