X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_bline.cpp;h=83a7c6643d9f44771d229953ed49bb95b286fa4d;hb=385af7c42ee4d4491bbddda2f720aa52b2ad205d;hp=87e8702f31a9a504e7ee06b5b0196bbfe18dbe14;hpb=e129cbbec6f6fd7d3b9c8f0bdfbb9e28dd670f1b;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_bline.cpp b/synfig-core/trunk/src/synfig/valuenode_bline.cpp index 87e8702..83a7c66 100644 --- a/synfig-core/trunk/src/synfig/valuenode_bline.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_bline.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -422,7 +423,7 @@ ValueNode_BLine::operator()(Time t)const // Find "end" of dynamic group - ie. search forward along // the bline from the current point until we find a point - // which is more 'on'than the current one + // which is more 'on' than the current one end_iter=iter; // for(++end_iter;begin_iter!=list.end();++end_iter) for(++end_iter;end_iter!=list.end();++end_iter) @@ -569,7 +570,7 @@ ValueNode_BLine::operator()(Time t)const curr_coord_sys[0]=(begin_pos_at_current_time - end_pos_at_current_time).norm(); curr_coord_sys[1]=curr_coord_sys[0].perp(); - // Invert (transpose) the last of these matricies, since we use it for transform back + // Invert (transpose) the last of these matrices, since we use it for transform back swap(curr_coord_sys[0][1],curr_coord_sys[1][0]); }