Changeset View
Changeset View
Standalone View
Standalone View
src/timeline2/model/timelinemodel.cpp
Context not available. | |||||
2036 | return true; | 2036 | return true; | ||
---|---|---|---|---|---|
2037 | }; | 2037 | }; | ||
2038 | bool res = requestCompositionMove(compositionId, trackId, compositionTrack, position, true, finalMove, local_undo, local_redo); | 2038 | bool res = requestCompositionMove(compositionId, trackId, compositionTrack, position, true, finalMove, local_undo, local_redo); | ||
2039 | qDebug() << "trying to move" << trackId << "pos" << position << "succes " << res; | 2039 | qDebug() << "trying to move" << trackId << "pos" << position << "success " << res; | ||
2040 | if (res) { | 2040 | if (res) { | ||
2041 | res = requestItemResize(compositionId, length, true, true, local_undo, local_redo, true); | 2041 | res = requestItemResize(compositionId, length, true, true, local_undo, local_redo, true); | ||
2042 | qDebug() << "trying to resize" << compositionId << "length" << length << "succes " << res; | 2042 | qDebug() << "trying to resize" << compositionId << "length" << length << "success " << res; | ||
2043 | } | 2043 | } | ||
2044 | if (!res) { | 2044 | if (!res) { | ||
2045 | bool undone = local_undo(); | 2045 | bool undone = local_undo(); | ||
Context not available. | |||||
2366 | } | 2366 | } | ||
2367 | // check consistency of track | 2367 | // check consistency of track | ||
2368 | if (!track->checkConsistency()) { | 2368 | if (!track->checkConsistency()) { | ||
2369 | qDebug() << "Constistency check failed for track" << tck.first; | 2369 | qDebug() << "Consistency check failed for track" << tck.first; | ||
2370 | return false; | 2370 | return false; | ||
2371 | } | 2371 | } | ||
2372 | } | 2372 | } | ||
Context not available. |