summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-08 14:31:15 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-08 14:31:15 +0000
commit351660cb86c992fe7be5edd31250e2826714c9cb (patch)
treec4d56725c68dbda0a7838ce5bd55380e3bbb06fd /src/live_effects/effect.cpp
parentminor changes to helper paths (diff)
parentUpdate simplify and bspline to auto size some helper paths based on current zoom (diff)
downloadinkscape-351660cb86c992fe7be5edd31250e2826714c9cb.tar.gz
inkscape-351660cb86c992fe7be5edd31250e2826714c9cb.zip
update to trunk and fixed helper paths
(bzr r13645.1.38)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 827f70749..aab64fe64 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -450,7 +450,7 @@ void Effect::doOnRemove (SPLPEItem const* /*lpeitem*/)
void Effect::doOnApply_impl(SPLPEItem const* lpeitem)
{
sp_lpe_item = const_cast<SPLPEItem *>(lpeitem);
- defaultUnit = &sp_lpe_item->document->getDisplayUnit()->abbr;
+ defaultUnit = sp_lpe_item->document->getDisplayUnit()->abbr;
/*sp_curve = SP_SHAPE(sp_lpe_item)->getCurve();
pathvector_before_effect = sp_curve->get_pathvector();*/
doOnApply(lpeitem);
@@ -459,7 +459,7 @@ void Effect::doOnApply_impl(SPLPEItem const* lpeitem)
void Effect::doBeforeEffect_impl(SPLPEItem const* lpeitem)
{
sp_lpe_item = const_cast<SPLPEItem *>(lpeitem);
- defaultUnit = &sp_lpe_item->document->getDisplayUnit()->abbr;
+ defaultUnit = sp_lpe_item->document->getDisplayUnit()->abbr;
//printf("(SPLPEITEM*) %p\n", sp_lpe_item);
sp_curve = SP_SHAPE(sp_lpe_item)->getCurve();
pathvector_before_effect = sp_curve->get_pathvector();