From: dooglus Date: Fri, 2 Mar 2007 23:15:38 +0000 (+0000) Subject: Initialise the tangents when constructing a BLinePoint. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=05f7482acd0c0f72848436c23869dc6f88b9f5a8;p=synfig.git Initialise the tangents when constructing a BLinePoint. git-svn-id: http://svn.voria.com/code@261 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/blinepoint.h b/synfig-core/trunk/src/synfig/blinepoint.h index c97c79f..66904b4 100644 --- a/synfig-core/trunk/src/synfig/blinepoint.h +++ b/synfig-core/trunk/src/synfig/blinepoint.h @@ -55,7 +55,7 @@ public: width_(0.01), origin_(0.0), split_tangent_(false) - { } + { tangent_[0] = Point(0,0); tangent_[1] = Point(0,0); } const Point& get_vertex()const { return vertex_; } void set_vertex(const Point& x) { vertex_=x; }