Code

make default paintbucket offset 0
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 8 Mar 2007 06:32:50 +0000 (06:32 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 8 Mar 2007 06:32:50 +0000 (06:32 +0000)
src/flood-context.cpp
src/widgets/toolbox.cpp

index 5d106a795ecf2a1a38555c80d50a3876fd270470..cd2f1a5ec46f3e9286f236b17309f3846215d0c1 100644 (file)
@@ -302,7 +302,7 @@ static void do_trace(GdkPixbuf *px, SPDesktop *desktop, NR::Matrix transform) {
 
     long totalNodeCount = 0L;
 
-    double offset = prefs_get_double_attribute("tools.paintbucket", "offset", 2.0);
+    double offset = prefs_get_double_attribute("tools.paintbucket", "offset", 0.0);
 
     for (unsigned int i=0 ; i<results.size() ; i++) {
         Inkscape::Trace::TracingEngineResult result = results[i];
index 975a8cbdac708ec55c3fc3e3739336030eb615a6..ce2c8eecd11507effee70990d6ad47c62ab53a3a 100644 (file)
@@ -4478,7 +4478,7 @@ sp_paintbucket_toolbox_new(SPDesktop *desktop)
     {
         GtkWidget *offset = sp_tb_spinbutton(_("Offset:"),
                 _("The amount to grow the path after it has been traced"),
-                "tools.paintbucket", "offset", 5, us, tbl, TRUE,
+                "tools.paintbucket", "offset", 0, us, tbl, TRUE,
                 "inkscape:paintbucket-offset", -1e6, 1e6, 0.1, 0.5,
                 paintbucket_offset_changed, 1, 2);