X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Ftimegather.cpp;h=5b71201996ab9ddc14fff88fe028121ec773d659;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=7089f74b6397d56987b12f869b37521047037e84;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/timegather.cpp b/synfig-studio/trunk/src/synfigapp/timegather.cpp index 7089f74..5b71201 100644 --- a/synfig-studio/trunk/src/synfigapp/timegather.cpp +++ b/synfig-studio/trunk/src/synfigapp/timegather.cpp @@ -2,19 +2,21 @@ /*! \file timegather.cpp ** \brief Time Gather File ** -** $Id: timegather.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2004 Adrian Bentley +** Copyright (c) 2007 Chris Moore ** -** 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 */ /* ========================================================================= */ @@ -33,6 +35,8 @@ #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -58,9 +62,9 @@ void synfigapp::timepoints_ref::insert(synfig::ValueNode_Animated::Handle v, syn { ValueBaseTimeInfo vt; vt.val = v; - + waytracker::iterator i = waypointbiglist.find(vt); - + if(i != waypointbiglist.end()) { i->waypoints.insert(w); @@ -75,9 +79,9 @@ void synfigapp::timepoints_ref::insert(synfigapp::ValueDesc v, synfig::Activepoi { ActiveTimeInfo vt; vt.val = v; - + acttracker::iterator i = actpointbiglist.find(vt); - + if(i != actpointbiglist.end()) { i->activepoints.insert(a); @@ -94,10 +98,10 @@ void synfigapp::timepoints_ref::insert(synfigapp::ValueDesc v, synfig::Activepoi } //recursion functions -void synfigapp::recurse_canvas(synfig::Canvas::Handle h, const std::set