From 1c0f96ae2861eff1fb1207f7157d154462af0ef0 Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 12 Apr 2007 09:23:05 +0000 Subject: [PATCH] Removed some old commented code; replaced with a comment saying that it was there, and what it did. git-svn-id: http://svn.voria.com/code@457 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_bline.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_bline.cpp b/synfig-core/trunk/src/synfig/valuenode_bline.cpp index 2d18e20..dc61767 100644 --- a/synfig-core/trunk/src/synfig/valuenode_bline.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_bline.cpp @@ -587,21 +587,7 @@ ValueNode_BLine::operator()(Time t)const curr_coord_sys[1]=curr_coord_sys[0].perp(); } - /* - on_coord_origin=(*end_iter->value_node)(on_time).get(prev).get_vertex(); - on_coord_sys[0]=( - (*begin_iter->value_node)(on_time).get(prev).get_vertex() - - on_coord_origin - ).norm(); - on_coord_sys[1]=on_coord_sys[0].perp(); - - curr_coord_origin=(*end_iter->value_node)(t).get(prev).get_vertex(); - curr_coord_sys[0]=( - (*begin_iter->value_node)(t).get(prev).get_vertex() - - curr_coord_origin - ).norm(); - curr_coord_sys[1]=curr_coord_sys[0].perp(); - */ + /* the code that was here before used just end_iter as the origin, rather than the mid-point */ // Convert point where vertex is fully 'off' Point trans_off_point; -- 2.7.4