summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/originalpatharray.h
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-09-08 20:28:13 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-09-08 20:28:13 +0000
commit1f0a20e9f4270de3aff4b9ce0484e1d26c6d58da (patch)
treeea5e92cebc8f3b38f9e607653095b2dde24ecff9 /src/live_effects/parameter/originalpatharray.h
parentCI/AppVeyor: now compiles with poppler 0.59 (diff)
downloadinkscape-1f0a20e9f4270de3aff4b9ce0484e1d26c6d58da.tar.gz
inkscape-1f0a20e9f4270de3aff4b9ce0484e1d26c6d58da.zip
Fix for bug: 1715433 :: Clone original LPE can no longer be used to fill a powerstroke path
Diffstat (limited to 'src/live_effects/parameter/originalpatharray.h')
-rw-r--r--src/live_effects/parameter/originalpatharray.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/parameter/originalpatharray.h b/src/live_effects/parameter/originalpatharray.h
index fe9371644..eb1114c3f 100644
--- a/src/live_effects/parameter/originalpatharray.h
+++ b/src/live_effects/parameter/originalpatharray.h
@@ -70,6 +70,9 @@ public:
virtual void param_editOncanvas(SPItem * /*item*/, SPDesktop * /*dt*/) {};
/** Disable the canvas indicators of parent class by overriding this method */
virtual void addCanvasIndicators(SPLPEItem const* /*lpeitem*/, std::vector<Geom::PathVector> & /*hp_vec*/) {};
+ void setFromOriginalD(bool from_original_d){ _from_original_d = from_original_d; };
+ void allowOnlyBsplineSpiro(bool allow_only_bspline_spiro){ _allow_only_bspline_spiro = allow_only_bspline_spiro; };
+
std::vector<PathAndDirection*> _vector;
protected:
@@ -99,6 +102,8 @@ protected:
void on_reverse_toggled(const Glib::ustring& path);
private:
+ bool _from_original_d;
+ bool _allow_only_bspline_spiro;
OriginalPathArrayParam(const OriginalPathArrayParam&);
OriginalPathArrayParam& operator=(const OriginalPathArrayParam&);
};