Code

fix initialization of nodehelperpath showing
authorjohanengelen <johanengelen@users.sourceforge.net>
Wed, 27 Feb 2008 09:21:53 +0000 (09:21 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Wed, 27 Feb 2008 09:21:53 +0000 (09:21 +0000)
src/nodepath.cpp

index e03484d7a383033b8af80f7499e5b8040ad11f62..7ea29e791327f0cfb9a79d6a833eef7dd3b7cb35 100644 (file)
@@ -204,7 +204,7 @@ Inkscape::NodePath::Path *sp_nodepath_new(SPDesktop *desktop, SPObject *object,
     np->helperpath_rgba = 0xff0000ff;
     np->helperpath_width = 1.0;
     np->curve = sp_curve_copy(curve);
-    np->show_helperpath = false;
+    np->show_helperpath = prefs_get_int_attribute ("tools.nodes", "show_helperpath",  0) == 1;
     np->straight_path = false;
     if (IS_LIVEPATHEFFECT(object) && item) {
         np->item = item;