diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-03-08 14:00:33 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-03-08 14:00:33 +0000 |
| commit | 3f5a54f867784d1606ebd21a804c356cfc6ef6a4 (patch) | |
| tree | eb4e459b3d9f12d3a7a03e6d4024b35f3d516afa /src/live_effects/effect.cpp | |
| parent | Improved popup mesage to a LPE Simplify parameter (diff) | |
| download | inkscape-3f5a54f867784d1606ebd21a804c356cfc6ef6a4.tar.gz inkscape-3f5a54f867784d1606ebd21a804c356cfc6ef6a4.zip | |
Update simplify and bspline to auto size some helper paths based on current zoom
(bzr r13974)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 4 |
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(); |
