X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fwaypoint.cpp;h=1befa6f23725e2f86602d08dfebb5c9011dc7bb7;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=27d3e5d43c758b4a0600997ce1f6d2fb07342249;hpb=28f28705612902c15cd0702cc891fba35bf2d2df;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/waypoint.cpp b/synfig-core/trunk/src/synfig/waypoint.cpp index 27d3e5d..1befa6f 100644 --- a/synfig-core/trunk/src/synfig/waypoint.cpp +++ b/synfig-core/trunk/src/synfig/waypoint.cpp @@ -2,19 +2,20 @@ /*! \file waypoint.cpp ** \brief Template File ** -** $Id: waypoint.cpp,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. ** \endlegal */ /* ========================================================================= */ @@ -62,7 +63,7 @@ Waypoint::Waypoint(ValueBase value, Time time): after=before=INTERPOLATION_LINEAR; } -Waypoint::Waypoint(ValueNode::Handle value_node, Time time): +Waypoint::Waypoint(etl::handle value_node, Time time): priority_(0), before(INTERPOLATION_TCB), after(INTERPOLATION_TCB), @@ -98,7 +99,7 @@ Waypoint::set_value(const ValueBase &x) } void -Waypoint::set_value_node(const ValueNode::Handle &x) +Waypoint::set_value_node(const etl::handle &x) { if(!value_node && x->get_type()==ValueBase::TYPE_ANGLE) after=before=INTERPOLATION_LINEAR;