In late August I released an “Animated Text” plugin that I thought worked fine but now it doesn’t… after some tests I found out that the problem is with the GUID attribute inside a waypoint definition, for instance:
<param name="amount">
<animated type="real">
<waypoint time="0s" before="clamped" after="clamped">
<real guid="18FED5A400007FF81918F83E00007FF8" value="0.0000000000"/>
</waypoint>
</animated>
</param>
As GUIDs must be different and I didn’t know how to create them on the fly, I tested to leave the attribute blank guid=""
and let the parser to add them. As far as I remember it worked and different GUIDs were created for each element. Now it doesn’t behave the same and it just creates an unique GUID value which makes waypoints to hold the same value and therefore don’t animate the parameter.
This is what I’m getting now:
<param name="amount">
<animated type="real">
<waypoint time="0s" before="clamped" after="clamped">
<real guid="18FED5A400007FF81918F83E00007FF8" value="0.0000000000"/>
</waypoint>
<waypoint time="2s" before="clamped" after="clamped">
<real guid="18FED5A400007FF81918F83E00007FF8" value="0.0000000000"/>
</waypoint>
</animated>
</param>
So, Did Synfig code changed anything about how to handle GUID attributes or it never did?
In addition to that, I tested not to add the attribute at all, this way the .sif file works, I mean, the layer and waypoints are added and seem to work but I’m not happy leaving it like this because Synfig adds them if you create the waypoints inside the timeline.
Any idea?
Thanks!