diff options
| author | Alexander Brock <zaibu@lunar-orbit.de> | 2016-11-09 00:23:41 +0000 |
|---|---|---|
| committer | Alexander Brock <zaibu@lunar-orbit.de> | 2016-11-09 00:23:41 +0000 |
| commit | 07a86951a15301ccb7eb1446cc1e6d3ca7a68f9b (patch) | |
| tree | 6aa49c38e2bf4ee709737d0b9b019587f8d6bb52 /src/ui/tools/spray-tool.cpp | |
| parent | annotate custom builds, and add correct revno into make dist tarballs (diff) | |
| download | inkscape-07a86951a15301ccb7eb1446cc1e6d3ca7a68f9b.tar.gz inkscape-07a86951a15301ccb7eb1446cc1e6d3ca7a68f9b.zip | |
Move boolop functions from sp_selected_path_<op> to ObjectSet::path<op>
(bzr r15223.1.1)
Diffstat (limited to 'src/ui/tools/spray-tool.cpp')
| -rw-r--r-- | src/ui/tools/spray-tool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp index 3649008ff..ad006627c 100644 --- a/src/ui/tools/spray-tool.cpp +++ b/src/ui/tools/spray-tool.cpp @@ -1026,7 +1026,7 @@ static bool sp_spray_recursive(SPDesktop *desktop, if (unionResult) { // No need to add the very first item (initialized with NULL). set->add(unionResult); } - sp_selected_path_union_skip_undo(set); + set->pathUnion(true); set->add(parent_item); Inkscape::GC::release(copy); did = true; @@ -1364,7 +1364,7 @@ bool SprayTool::root_handler(GdkEvent* event) { SP_VERB_CONTEXT_SPRAY, _("Spray with clones")); break; case SPRAY_MODE_SINGLE_PATH: - sp_selected_path_union_skip_undo(objectSet()); + objectSet()->pathUnion(true); desktop->getSelection()->add(object_set.objects().begin(), object_set.objects().end()); DocumentUndo::done(this->desktop->getDocument(), SP_VERB_CONTEXT_SPRAY, _("Spray in single path")); |
