Mofidy files to point to release 0.62.02
[synfig.git] / synfig-core / src / synfig / waypoint.cpp
index 1befa6f..e716dc3 100644 (file)
@@ -59,6 +59,7 @@ Waypoint::Waypoint(ValueBase value, Time time):
        bias(0),
        time_tension(0.0f)
 {
+       //!Writeme
        if(value.get_type()==ValueBase::TYPE_ANGLE)
                after=before=INTERPOLATION_LINEAR;
 }
@@ -92,6 +93,8 @@ Waypoint::Waypoint():
 void
 Waypoint::set_value(const ValueBase &x)
 {
+       //! If the value node is not set and we are seting the value
+       //! of an angle, then set both interpolation to linear... why?
        if(!value_node && x.get_type()==ValueBase::TYPE_ANGLE)
                after=before=INTERPOLATION_LINEAR;
 
@@ -101,6 +104,8 @@ Waypoint::set_value(const ValueBase &x)
 void
 Waypoint::set_value_node(const etl::handle<ValueNode> &x)
 {
+       //! If the value node is not set and we are seting the value
+       //! of an angle, then set both interpolation to linear... why?
        if(!value_node && x->get_type()==ValueBase::TYPE_ANGLE)
                after=before=INTERPOLATION_LINEAR;