Ejemplo n.º 1
0
 public void FinalizeRecording(WindowState state)
 {
     // rebuild the graph if we add/remove a clip. Rebuild the graph with an evaluation immediately
     // so previews and scene position is maintained.
     if (m_CurveCount != GetCurveCount(m_TargetClip))
     {
         state.rebuildGraph = true;
         state.GetWindow().RebuildGraphIfNecessary(true);
     }
     else if (m_TrackHasPreviewComponents)
     {
         // Track with preview components potentially has modifications impacting other properties that need
         // to be refreshed before inspector or scene view to not interfere with manipulation.
         state.EvaluateImmediate();
     }
 }