Skip to content

Commit 0bc6fbe

Browse files
authored
Try to de-register the view before registering it as a default view (o3de#17557)
Signed-off-by: Karl Haubenwallner <[email protected]>
1 parent f77c7a0 commit 0bc6fbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Gems/Atom/RPI/Code/Source/RPI.Public/ViewportContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ namespace AZ
369369

370370
if (pipeline)
371371
{
372+
pipeline->UnregisterView(pipelineView);
372373
pipeline->SetDefaultView(pipelineView);
373374
}
374375
}

0 commit comments

Comments
 (0)