Skip to content

Commit 46c4ed0

Browse files
USD Viewer: reset TAA when transform is manipulated
1 parent 660d54f commit 46c4ed0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Samples/USDViewer/src/USDViewer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ void USDViewer::EditSelectedPrimTransform()
469469
// New local matrix is the delta between new global matrix and parent global matrix
470470
float4x4 NewLocalMatrix = NewGlobalMatrix * ParentGlobalMatrix.Inverse();
471471
XFormable.MakeMatrixXform().Set(USD::ToGfMatrix4d(NewLocalMatrix));
472+
// For now, reset TAA when the transform changes
473+
m_Stage.TaskManager->ResetTAA();
472474
}
473475
}
474476

0 commit comments

Comments
 (0)