From: Jean-Baptiste Mardelle Date: Tue, 7 Sep 2010 07:48:52 +0000 (+0000) Subject: Automatically reload slideshow clips when animation or crop changes X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=07d61beec6faf0205c80c0fa7d7a12cb3cdde5bb;p=kdenlive Automatically reload slideshow clips when animation or crop changes svn path=/trunk/kdenlive/; revision=4856 --- diff --git a/src/docclipbase.cpp b/src/docclipbase.cpp index 87194e0f..38c8cbfd 100644 --- a/src/docclipbase.cpp +++ b/src/docclipbase.cpp @@ -658,8 +658,7 @@ void DocClipBase::slotRefreshProducer() while (filter) { if (strcmp(filter->get("mlt_service"), "affine") == 0) { break; - } - else if (strcmp(filter->get("mlt_service"), "boxblur") == 0) { + } else if (strcmp(filter->get("mlt_service"), "boxblur") == 0) { clipService.detach(*filter); } else ct++; filter = clipService.filter(ct); @@ -786,7 +785,7 @@ void DocClipBase::setProperties(QMap properties) QMapIterator i(properties); bool refreshProducer = false; QStringList keys; - keys << "luma_duration" << "luma_file" << "fade" << "ttl" << "softness"; + keys << "luma_duration" << "luma_file" << "fade" << "ttl" << "softness" << "crop" << "animation"; while (i.hasNext()) { i.next(); setProperty(i.key(), i.value());