Skip to content
  • Henry Wilkes's avatar
    timeline-tree: make sure the layer priority refers to an existing layer · 34719efa
    Henry Wilkes authored
    If a layer priority sits between the priorities of two layers in the
    timeline, i.e. it references a gap in the timeline's layers, then
    ges_timeline_append_layer will never fill this gap and create the
    desired layer, so the edit in timeline-tree would loop forever. So a
    check was added to avoid this.
    
    This would be a usage error, but a user can reasonably end up with a gap
    in their layers if they remove a layer from the timeline.
    
    Part-of: <!177>
    34719efa