Strengthen implementation of Clone and Render sources

Change of vocabulary, UI display of playtime
This commit is contained in:
Bruno Herbelin
2022-01-16 15:27:22 +01:00
parent 8bbcef585f
commit ddccc5ff6b
9 changed files with 98 additions and 75 deletions

View File

@@ -630,13 +630,13 @@ void SessionVisitor::visit (SessionGroupSource& s)
void SessionVisitor::visit (RenderSource& s)
{
xmlCurrent_->SetAttribute("type", "RenderSource");
xmlCurrent_->SetAttribute("renderMode", (int) s.renderMode());
xmlCurrent_->SetAttribute("provenance", (int) s.renderingProvenance());
}
void SessionVisitor::visit (CloneSource& s)
{
xmlCurrent_->SetAttribute("type", "CloneSource");
xmlCurrent_->SetAttribute("imageMode", (int) s.imageMode());
xmlCurrent_->SetAttribute("provenance", (int) s.cloningProvenance());
xmlCurrent_->SetAttribute("delay", (double) s.delay());
XMLElement *origin = xmlDoc_->NewElement("origin");