Bugs item #1778930, was opened at 2007-08-21 21:04
Message generated for change (Comment added) made by dooglus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1778930&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: dooglus (dooglus)
Assigned to: Nobody/Anonymous (nobody)
Summary: tangent 'theta' waypoints change from TCB to Linear on load

Initial Comment:
If I animate a bline's tangents and look at the generated waypoints, they are 
all green (since I'm using the default TCB Smooth interpolation).

If I then save the .sif file, rename it and open the renamed file, some of the 
waypoints are now yellow.  Specifically all of the tangents' "Theta" waypoints.

Maybe it's right that these angle parameters are interpolated linearly rather 
than smoothly, I don't know, but why does it change when I reload the file, 
rather than when I first animate the tangents?

----------------------------------------------------------------------

>Comment By: dooglus (dooglus)
Date: 2007-09-17 17:51

Message:
Logged In: YES 
user_id=1546005
Originator: YES

When saving waypoints, synfig doesn't mark TCB waypoints as TCB, because
'that's the default'.  But when loading, unmarked angle waypoints are set
to linear, because 'that's the default'.

In svn r692 I changed the save code to mark angles if they're not linear,
and other types if they're not TCB.  Next I'll change the code which
creates angle waypoints to get them to default to linear interpolation.

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2007-08-21 21:20

Message:
Logged In: YES 
user_id=1546005
Originator: YES

The first time I save the file, I see the theta waypoints like this:

                <c1>
                  <animated type="angle">
                    <waypoint time="0s">
                      <angle value="-135.000000"
guid="41F37C14FF220E3B82B1609DDF72A2AE"/>
                    </waypoint>
                    <waypoint time="1s">
                      <angle value="-112.121941"
guid="FFE85657CC4FB41D0F77A836EF131B54"/>
                    </waypoint>
                  </animated>
                </c1>

if I reload and save again, I see them like this:

                <c1>
                  <animated type="angle">
                    <waypoint time="0s" before="linear" after="linear">
                      <angle value="-135.000000"/>
                    </waypoint>
                    <waypoint time="1s" before="linear" after="linear">
                      <angle value="-112.121941"/>
                    </waypoint>
                  </animated>
                </c1>

Notice that the GUID values have disappeared (why were they saved anyway? 
I hadn't done any linking at all) and the 'before' and 'after' values have
appeared.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1778930&group_id=144022

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to