X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnode-context.cpp;h=d7848e3bb58ba7cc0e4b3cd9d682c618fdf6abbd;hb=4832d71a0d49fe090b917e233370be20d1d72884;hp=67511ea30e83c3e0a4f4445e3c9da1fdc5084608;hpb=a331544754adf287970dc26ff3571f992a0d5227;p=inkscape.git diff --git a/src/node-context.cpp b/src/node-context.cpp index 67511ea30..d7848e3bb 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -174,7 +174,7 @@ sp_node_context_setup(SPEventContext *ec) nc->added_node = false; if (item) { - nc->nodepath = sp_nodepath_new(ec->desktop, item); + nc->nodepath = sp_nodepath_new(ec->desktop, item, (prefs_get_int_attribute("tools.nodes", "show_handles", 1) != 0)); if ( nc->nodepath) { //point pack to parent in case nodepath is deleted nc->nodepath->nodeContext = nc; @@ -241,7 +241,7 @@ sp_node_context_selection_changed(Inkscape::Selection *selection, gpointer data) nc->nodepath = NULL; ec->shape_knot_holder = NULL; if (item) { - nc->nodepath = sp_nodepath_new(desktop, item); + nc->nodepath = sp_nodepath_new(desktop, item, (prefs_get_int_attribute("tools.nodes", "show_handles", 1) != 0)); if (nc->nodepath) { nc->nodepath->nodeContext = nc; } @@ -292,7 +292,7 @@ sp_nodepath_update_from_item(SPNodeContext *nc, SPItem *item) item = selection->singleItem(); if (item) { - nc->nodepath = sp_nodepath_new(desktop, item); + nc->nodepath = sp_nodepath_new(desktop, item, (prefs_get_int_attribute("tools.nodes", "show_handles", 1) != 0)); if (nc->nodepath) { nc->nodepath->nodeContext = nc; }