Example #1
0
 protected virtual void OnModelChanged(TimelineGraphChangedEventArgs e)
 {
     if (e.OldGraph != null)
     {
         e.OldGraph.GraphChanged -= this.Model_GraphChanged;
     }
     this.skipEnvelope    = false;
     this.curveCacheDirty = true;
     if (e.Graph != null)
     {
         e.Graph.GraphChanged += this.Model_GraphChanged;
     }
     return;
 }
 protected virtual void OnModelChanged(TimelineGraphChangedEventArgs e)
 {
     if (e.OldGraph != null)
     {
         e.OldGraph.GraphChanged -= this.Model_GraphChanged;
     }
     this.skipEnvelope = false;
     this.curveCacheDirty = true;
     if (e.Graph != null)
     {
         e.Graph.GraphChanged += this.Model_GraphChanged;
     }
     return;
 }