summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-24 00:02:46 +0000
committerJabiertxof <jtx@jtx>2017-01-24 00:02:46 +0000
commite06fb0c25cc352df40b77a1988b5045426e7ef2d (patch)
treedd40be94ed5d56afdce3f4535a559d8d4741dd05 /src/live_effects/effect.h
parentAdd fixes sugested by Martin Owens (diff)
downloadinkscape-e06fb0c25cc352df40b77a1988b5045426e7ef2d.tar.gz
inkscape-e06fb0c25cc352df40b77a1988b5045426e7ef2d.zip
Fixing to merge
(bzr r15392.1.8)
Diffstat (limited to 'src/live_effects/effect.h')
-rw-r--r--src/live_effects/effect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index 2f42ab3f6..f5e41d50e 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -79,6 +79,8 @@ public:
static int acceptsNumClicks(EffectType type);
int acceptsNumClicks() const { return acceptsNumClicks(effectType()); }
void doAcceptPathPreparations(SPLPEItem *lpeitem);
+ SPShape * getCurrentShape(){ return sp_shape; };
+ void setCurrentShape(SPShape * shape);
void processObjects(LpeAction lpe_action);
/*
@@ -172,6 +174,7 @@ protected:
bool concatenate_before_pwd2;
SPLPEItem * sp_lpe_item; // these get stored in doBeforeEffect_impl, and derived classes may do as they please with them.
+ SPShape * sp_shape; // these get stored in doBeforeEffect_impl before doEffect chain, or in performPathEffects on groups, and derived classes may do as they please with them.
std::vector<const char *> items;
double current_zoom;
std::vector<Geom::Point> selectedNodesPoints;