diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-01-24 10:08:58 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-01-24 10:08:58 +0000 |
| commit | d1a09f4fd642b79542401c6e4eb83e79369c0f9b (patch) | |
| tree | f0aaa57a4753686fc40f62855d864f16ee21be3d /src | |
| parent | update to trunk (diff) | |
| download | inkscape-d1a09f4fd642b79542401c6e4eb83e79369c0f9b.tar.gz inkscape-d1a09f4fd642b79542401c6e4eb83e79369c0f9b.zip | |
added missing header from a merge
(bzr r13708.1.14)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-copy_rotate.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp index 35b5c1eb2..d1022dbc2 100644 --- a/src/live_effects/lpe-copy_rotate.cpp +++ b/src/live_effects/lpe-copy_rotate.cpp @@ -13,7 +13,8 @@ #include <glibmm/i18n.h> #include <gdk/gdk.h> - +#include <2geom/path-intersection.h> +#include <2geom/sbasis-to-bezier.h> #include "live_effects/lpe-copy_rotate.h" #include <2geom/path.h> #include <2geom/transforms.h> @@ -191,8 +192,13 @@ LPECopyRotate::split(std::vector<Geom::Path> &path_on,Geom::Path divider){ void LPECopyRotate::setKaleidoscope(std::vector<Geom::Path> &path_on, Geom::Path divider){ split(path_on,divider); - for (int i = 0; i < num_copies; ++i) { - + for (Geom::PathVector::const_iterator path_it = path_on.begin(); path_it != path_on.end(); ++path_it) { + if (path_it->empty()){ + continue; + } + for (int i = 0; i < num_copies; ++i) { + + } } } |
