X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fcontext.cpp;fp=synfig-core%2Fsrc%2Fsynfig%2Fcontext.cpp;h=28d8e416ef040d56f20c493942835f4ad95ef42c;hb=abe901f86de422ad66435764f03727d1bf179501;hp=38e0f671684321f872798f77cc8c1f1d9872c545;hpb=297ae3bde3656cb0820de577b3ab7c9ae2e77a56;p=synfig.git diff --git a/synfig-core/src/synfig/context.cpp b/synfig-core/src/synfig/context.cpp index 38e0f67..28d8e41 100644 --- a/synfig-core/src/synfig/context.cpp +++ b/synfig-core/src/synfig/context.cpp @@ -347,13 +347,14 @@ Context::set_time(Time time)const { Layer::ParamList params; Layer::DynamicParamList::const_iterator iter; - + // For each parameter of the layer sets the time by the operator()(time) for(iter=(*context)->dynamic_param_list().begin();iter!=(*context)->dynamic_param_list().end();iter++) params[iter->first]=(*iter->second)(time); - + // Sets the modified parameter list to the current context layer (*context)->set_param_list(params); - + // Calls the set time for the next layer in the context. (*context)->set_time(context+1,time); + // Sets the dirty time the current calling time (*context)->dirty_time_=time; }