Removed some old commented code; replaced with a comment saying that it was there...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 12 Apr 2007 09:23:05 +0000 (09:23 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 12 Apr 2007 09:23:05 +0000 (09:23 +0000)
git-svn-id: http://svn.voria.com/code@457 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode_bline.cpp

index 2d18e20..dc61767 100644 (file)
@@ -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;