Commit 338e677b authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix clip thumbs not discarded on property change

parent 937e2061
......@@ -408,7 +408,6 @@ void ProjectClip::reloadProducer(bool refreshOnly, bool isProxy, bool forceAudio
if (!xml.isNull()) {
bool hashChanged = false;
m_thumbsProducer.reset();
m_clipStatus = FileStatus::StatusWaiting;
ClipType::ProducerType type = clipType();
if (type != ClipType::Color && type != ClipType::Image && type != ClipType::SlideShow) {
xml.removeAttribute("out");
......@@ -430,6 +429,7 @@ void ProjectClip::reloadProducer(bool refreshOnly, bool isProxy, bool forceAudio
discardAudioThumb();
}
ThumbnailCache::get()->invalidateThumbsForClip(clipId());
m_clipStatus = FileStatus::StatusWaiting;
m_thumbsProducer.reset();
ClipLoadTask::start({ObjectType::BinClip,m_binId.toInt()}, xml, false, -1, -1, this);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment