Merge branch 'master' of https://github.com/olive-editor/olive
This commit is contained in:
@@ -111,9 +111,9 @@ void EffectControls::copy(bool del) {
|
|||||||
Effect* effect = c->effects.at(j);
|
Effect* effect = c->effects.at(j);
|
||||||
if (effect->container->selected) {
|
if (effect->container->selected) {
|
||||||
if (!cleared) {
|
if (!cleared) {
|
||||||
clipboard_type = CLIPBOARD_TYPE_EFFECT;
|
|
||||||
clear_clipboard();
|
clear_clipboard();
|
||||||
cleared = true;
|
cleared = true;
|
||||||
|
clipboard_type = CLIPBOARD_TYPE_EFFECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
clipboard.append(effect->copy(NULL));
|
clipboard.append(effect->copy(NULL));
|
||||||
|
|||||||
@@ -1283,8 +1283,10 @@ void TimelineWidget::update_ghosts(const QPoint& mouse_pos, bool lock_frame) {
|
|||||||
if (validator < 1) frame_diff -= (1 - validator);
|
if (validator < 1) frame_diff -= (1 - validator);
|
||||||
|
|
||||||
// prevent timeline in from going below 0
|
// prevent timeline in from going below 0
|
||||||
validator = g.old_in + frame_diff;
|
if (panel_timeline->tool != TIMELINE_TOOL_RIPPLE) {
|
||||||
if (validator < 0) frame_diff -= validator;
|
validator = g.old_in + frame_diff;
|
||||||
|
if (validator < 0) frame_diff -= validator;
|
||||||
|
}
|
||||||
|
|
||||||
// prevent clip_in from going below 0
|
// prevent clip_in from going below 0
|
||||||
if (c->media->get_type() == MEDIA_TYPE_SEQUENCE
|
if (c->media->get_type() == MEDIA_TYPE_SEQUENCE
|
||||||
|
|||||||
Reference in New Issue
Block a user