Author: Carlos Lopez <[email protected]>
Date:   Sun Mar 20 17:34:44 2011 +0100

Remove round tip parameter

---

 .../src/modules/mod_geometry/advanced_outline.cpp  |   14 --------------
 .../src/modules/mod_geometry/advanced_outline.h    |    1 -
 2 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp 
b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
index 02ee173..da7e432 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
@@ -73,8 +73,6 @@ Point line_intersection( const Point& p1, const Vector& t1, 
const Point& p2, con
 
 Advanced_Outline::Advanced_Outline()
 {
-       round_tip_[0]=true;
-       round_tip_[1]=true;
        sharp_cusps_=true;
        width_=1.0f;
        expand_=0;
@@ -361,8 +359,6 @@ Advanced_Outline::set_param(const String & param, const 
ValueBase &value)
                bline_=value;
                return true;
        }
-       IMPORT_AS(round_tip_[0],"round_tip[0]");
-       IMPORT_AS(round_tip_[1], "round_tip[1]");
        IMPORT_AS(sharp_cusps_, "sharp_cusps");
        IMPORT_AS(width_,"width");
        IMPORT_AS(expand_, "expand");
@@ -403,8 +399,6 @@ Advanced_Outline::get_param(const String& param)const
        EXPORT_AS(bline_, "bline");
        EXPORT_AS(expand_, "expand");
        EXPORT_AS(smoothness_, "smoothness");
-       EXPORT_AS(round_tip_[0], "round_tip[0]");
-       EXPORT_AS(round_tip_[1], "round_tip[1]");
        EXPORT_AS(sharp_cusps_, "sharp_cusps");
        EXPORT_AS(width_, "width");
        EXPORT_AS(wplist_, "wplist");
@@ -440,14 +434,6 @@ Advanced_Outline::get_param_vocab()const
                .set_local_name(_("Sharp Cusps"))
                .set_description(_("Determines cusp type"))
        );
-       ret.push_back(ParamDesc("round_tip[0]")
-               .set_local_name(_("Rounded Begin"))
-               .set_description(_("Round off the tip"))
-       );
-       ret.push_back(ParamDesc("round_tip[1]")
-               .set_local_name(_("Rounded End"))
-               .set_description(_("Round off the tip"))
-       );
        ret.push_back(ParamDesc("smoothness")
                .set_local_name(_("Smoothness"))
                .set_description(_("Determines the interpolation between 
withpoints. (0) Linear (1) Smooth"))
diff --git a/synfig-core/src/modules/mod_geometry/advanced_outline.h 
b/synfig-core/src/modules/mod_geometry/advanced_outline.h
index c869abd..e8c21d6 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.h
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.h
@@ -51,7 +51,6 @@ private:
 
        synfig::ValueBase bline_;
        synfig::ValueBase wplist_;
-       bool round_tip_[2];
        bool sharp_cusps_;
        bool loop_;
        synfig::Real width_;


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to