Revision: 2167
http://synfig.svn.sourceforge.net/synfig/?rev=2167&view=rev
Author: dooglus
Date: 2008-11-07 18:11:26 +0000 (Fri, 07 Nov 2008)
Log Message:
-----------
Show the start and end points connected, and add a width duck to the start
point.
Modified Paths:
--------------
synfig-core/trunk/src/modules/lyr_std/curvewarp.cpp
Modified: synfig-core/trunk/src/modules/lyr_std/curvewarp.cpp
===================================================================
--- synfig-core/trunk/src/modules/lyr_std/curvewarp.cpp 2008-11-07 17:17:30 UTC
(rev 2166)
+++ synfig-core/trunk/src/modules/lyr_std/curvewarp.cpp 2008-11-07 18:11:26 UTC
(rev 2167)
@@ -160,16 +160,16 @@
CurveWarp::CurveWarp():
origin(0,0),
perp_width(1),
- start_point(-3,-1),
- end_point(3,1),
+ start_point(-2.5,-0.5),
+ end_point(2.5,-0.3),
fast(true)
{
bline.push_back(BLinePoint());
bline.push_back(BLinePoint());
bline[0].set_vertex(Point(-2.5,0));
- bline[1].set_vertex(Point(2.5,0));
- bline[0].set_tangent(Point(1, 1));
- bline[1].set_tangent(Point(1, -1));
+ bline[1].set_vertex(Point( 2.5,0));
+ bline[0].set_tangent(Point(1, 0.1));
+ bline[1].set_tangent(Point(1, -0.1));
bline[0].set_width(1.0f);
bline[1].set_width(1.0f);
@@ -397,10 +397,12 @@
.set_local_name(_("Origin")));
ret.push_back(ParamDesc("perp_width")
- .set_local_name(_("Width")));
+ .set_local_name(_("Width"))
+ .set_origin("start_point"));
ret.push_back(ParamDesc("start_point")
- .set_local_name(_("Start Point")));
+ .set_local_name(_("Start Point"))
+ .set_connect("end_point"));
ret.push_back(ParamDesc("end_point")
.set_local_name(_("End Point")));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl