ParamDesc::set_scalar(String) and ParamDesc::set_hint(String) were identical. Got...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 15 Feb 2008 13:55:34 +0000 (13:55 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 15 Feb 2008 13:55:34 +0000 (13:55 +0000)
git-svn-id: http://svn.voria.com/code@1697 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_geometry/outline.cpp
synfig-core/trunk/src/modules/mod_gradient/curvegradient.cpp
synfig-core/trunk/src/modules/mod_particle/plant.cpp
synfig-core/trunk/src/synfig/paramdesc.h

index a240c8d..ca45878 100644 (file)
@@ -798,7 +798,7 @@ Outline::get_param_vocab()const
        ret.push_back(ParamDesc("bline")
                .set_local_name(_("Vertices"))
                .set_origin("offset")
-               .set_scalar("width")
+               .set_hint("width")
                .set_description(_("A list of BLine Points"))
        );
 
index ee7a4b2..b0c0c35 100644 (file)
@@ -493,7 +493,7 @@ CurveGradient::get_param_vocab()const
        ret.push_back(ParamDesc("bline")
                                  .set_local_name(_("Vertices"))
                                  .set_origin("offset")
-                                 .set_scalar("width")
+                                 .set_hint("width")
                                  .set_description(_("A list of BLine Points")));
 
        ret.push_back(ParamDesc("gradient")
index 3abe146..e1758f1 100644 (file)
@@ -377,7 +377,7 @@ Plant::get_param_vocab()const
                .set_local_name(_("Vertices"))
                .set_description(_("A list of BLine Points"))
                .set_origin("offset")
-               //.set_scalar("width")
+               //.set_hint("width")
        );
 
        ret.push_back(ParamDesc("offset")
index 580294b..2e0f0ad 100644 (file)
@@ -156,7 +156,6 @@ public:
        /*! This value determines how the value is to be presented
        **      to the user when editing visually. */
        ParamDesc &set_scalar(const Real &n) { scalar_=n; return *this; }
-       ParamDesc &set_scalar(const String &h) { hint_=h; return *this; }
 
        //!     Marks the parameter as not necessary for saving or copying
        ParamDesc &not_critical() { critical_=false; return *this; }