mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Added delay and image selection to CloneSource
This commit is contained in:
@@ -634,12 +634,16 @@ void SessionVisitor::visit (RenderSource&)
|
||||
void SessionVisitor::visit (CloneSource& s)
|
||||
{
|
||||
xmlCurrent_->SetAttribute("type", "CloneSource");
|
||||
xmlCurrent_->SetAttribute("imageMode", (int) s.imageMode());
|
||||
xmlCurrent_->SetAttribute("delay", (double) s.delay());
|
||||
|
||||
XMLElement *origin = xmlDoc_->NewElement("origin");
|
||||
origin->SetAttribute("id", s.origin()->id());
|
||||
|
||||
xmlCurrent_->InsertEndChild(origin);
|
||||
XMLText *text = xmlDoc_->NewText( s.origin()->name().c_str() );
|
||||
origin->InsertEndChild( text );
|
||||
|
||||
}
|
||||
|
||||
void SessionVisitor::visit (PatternSource& s)
|
||||
|
||||
Reference in New Issue
Block a user