From c7787c8ad65eaf927dbdf9a41439fe7a7f770efd Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 24 Feb 2013 19:52:17 -0800 Subject: [PATCH] Timeline: Don't add cursor regions to sequence before setting their start and length. --- timeline/src/Cursor_Region.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/timeline/src/Cursor_Region.C b/timeline/src/Cursor_Region.C index d4f3177..d5af5bc 100644 --- a/timeline/src/Cursor_Region.C +++ b/timeline/src/Cursor_Region.C @@ -79,12 +79,11 @@ Cursor_Region::Cursor_Region ( nframes_t when, nframes_t length, const char *typ this->label( label ); this->type( type ); - timeline->add_cursor( this ); - start( when ); - this->length( length ); + timeline->add_cursor( this ); + log_create(); }