diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-05-16 02:39:05 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-05-16 02:39:05 +0000 |
| commit | 2c4a12df266ae54394936a5d22e8ad3e0317ae02 (patch) | |
| tree | 27f03878bbb0e3333de3beeb7f503de5d3412bca /src/node-context.cpp | |
| parent | Add Pedro to the excludes, at least until after the release (diff) | |
| download | inkscape-2c4a12df266ae54394936a5d22e8ad3e0317ae02.tar.gz inkscape-2c4a12df266ae54394936a5d22e8ad3e0317ae02.zip | |
show handles toggle
(bzr r850)
Diffstat (limited to 'src/node-context.cpp')
| -rw-r--r-- | src/node-context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
