summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp b/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
index 565960cf..0c85f225 100644
--- a/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
+++ b/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
@@ -94,9 +94,11 @@ RowTree *RowManager::createRowFromBinding(ITimelineItemBinding *binding, RowTree
// set row start/end time & color
ITimelineTimebar *timebar = binding->GetTimelineItem()->GetTimebar();
- newRow->rowTimeline()->setStartTime(timebar->GetStartTime() * .001);
- newRow->rowTimeline()->setEndTime(timebar->GetEndTime() * .001);
- newRow->rowTimeline()->setBarColor(timebar->GetTimebarColor());
+ RowTimeline *rowTimeline = newRow->rowTimeline();
+ rowTimeline->clearBoundChildren();
+ rowTimeline->setStartTime(timebar->GetStartTime() * .001);
+ rowTimeline->setEndTime(timebar->GetEndTime() * .001);
+ rowTimeline->setBarColor(timebar->GetTimebarColor());
// create property rows
for (int i = 0; i < binding->GetPropertyCount(); i++) {