Exemplo n.º 1
0
 private void TimelineControlOnSelectionChanged(ExportEntry export)
 {
     Properties_InterpreterWPF.LoadExport(export);
     OnPropertyChanged(nameof(LoadedExportIsCurve));
     if (CurveTab_CurveEditor.CanParse(export))
     {
         CurveTab_CurveEditor.LoadExport(export);
         // Select first curve
         var curve = CurveTab_CurveEditor.InterpCurveTracks.FirstOrDefault()?.Curves.FirstOrDefault();
         if (curve != null)
         {
             curve.IsSelected = true;
         }
     }
     else
     {
         CurveTab_CurveEditor.UnloadExport();
     }
 }
Exemplo n.º 2
0
 private void TimelineControlOnSelectionChanged(ExportEntry export)
 {
     Properties_InterpreterWPF.LoadExport(export);
 }