Commit d32d0276 authored by Thibault Saunier's avatar Thibault Saunier

Do not commit timeline during splitting section

If we commit a timeline while splitting clips we might end up commiting
"half splited" clips. This happens because while splitting, the keyframe
are moved and `KeyframeCurve.__controlSourceChangedCb` is called.

Introduce a context manager on the pipeline so that we ensure that
a section of code is commited atomically.

Fixes #2251
parent 6b78b26d
Pipeline #43137 failed with stages
in 54 minutes and 21 seconds