summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-14 10:22:27 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-14 10:22:27 +0000
commit1a0fcd98af5334f810752a7b5ad6269f2ed2ab25 (patch)
tree31040f6a95b67c3d6fce1b245353f4e11c208092 /src/selection-chemistry.cpp
parentSome improvements to my title/desc stuff of revision 18759 (see bug 171024). (diff)
downloadinkscape-1a0fcd98af5334f810752a7b5ad6269f2ed2ab25.tar.gz
inkscape-1a0fcd98af5334f810752a7b5ad6269f2ed2ab25.zip
Enable simultaneous knotholder and nodepath
(bzr r6291)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 9695d58e9..eebec434d 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1683,7 +1683,9 @@ void sp_selection_edit_clip_or_mask(SPDesktop * dt, bool clip)
}
ShapeEditor * shape_editor = SP_NODE_CONTEXT( dt->event_context )->shape_editor;
- shape_editor->set_item(SP_ITEM(child));
+ // TODO: should we set the item for nodepath or knotholder or both? seems to work with both.
+ shape_editor->set_item(SP_ITEM(child), SH_NODEPATH);
+ shape_editor->set_item(SP_ITEM(child), SH_KNOTHOLDER);
Inkscape::NodePath::Path *np = shape_editor->get_nodepath();
if (np) {
// take colors from prefs (same as used in outline mode)