Clone Source loading fixed and simplified

Fixed loading order. Removed the option of origin selection for Clone: not meaningful anymore with chain of clones.
This commit is contained in:
Bruno Herbelin
2022-04-16 19:52:52 +02:00
parent 48b1bfaebd
commit becc3d0953
8 changed files with 88 additions and 101 deletions

View File

@@ -235,8 +235,7 @@ void InfoVisitor::visit (CloneSource& s)
}
else {
if (s.origin())
oss << "Clone of '" << s.origin()->name() << "' ";
oss << CloneSource::cloning_provenance_label[s.cloningProvenance()] << std::endl;
oss << "Clone of '" << s.origin()->name() << "' " << std::endl;
oss << (s.frame()->use_alpha() ? "RGBA, " : "RGB, ");
oss << (int)(s.delay()*1000.0) << " ms delay " << std::endl;
oss << s.frame()->width() << " x " << s.frame()->height();