diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-26 23:16:23 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-26 23:16:23 +0000 |
| commit | 9146446e0b01911dc3f96e98f115af0b1e51517d (patch) | |
| tree | 81300c70434eec7b94061a5ebb82e89925e46395 | |
| parent | use 2geom path for bbox calculation. (gets rid of yet another reference to ol... (diff) | |
| download | inkscape-9146446e0b01911dc3f96e98f115af0b1e51517d.tar.gz inkscape-9146446e0b01911dc3f96e98f115af0b1e51517d.zip | |
noop: be more consistent with function names (get_pathvector => set_pathvector)
(bzr r6078)
| -rw-r--r-- | src/display/curve.cpp | 4 | ||||
| -rw-r--r-- | src/display/curve.h | 2 | ||||
| -rw-r--r-- | src/live_effects/effect.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-spiro.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp index df1666d2e..1261cf9b0 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -226,7 +226,7 @@ SPCurve::~SPCurve() /* Methods */ void -SPCurve::set_pathv(Geom::PathVector const & new_pathv) +SPCurve::set_pathvector(Geom::PathVector const & new_pathv) { _pathv = new_pathv; @@ -251,7 +251,7 @@ SPCurve::set_pathv(Geom::PathVector const & new_pathv) _substart = i; _closed = sp_bpath_closed(_bpath); - debug_check("SPCurve::set_pathv", this); + debug_check("SPCurve::set_pathvector", this); } /** diff --git a/src/display/curve.h b/src/display/curve.h index d46fa13b1..0bb456777 100644 --- a/src/display/curve.h +++ b/src/display/curve.h @@ -40,7 +40,7 @@ public: virtual ~SPCurve(); - void set_pathv(Geom::PathVector const & new_pathv); + void set_pathvector(Geom::PathVector const & new_pathv); NArtBpath const * get_bpath() const; Geom::PathVector const & get_pathvector() const; diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 9326f54b9..9ee4105bc 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -304,7 +304,7 @@ Effect::doEffect (SPCurve * curve) std::vector<Geom::Path> result_pathv = doEffect_path(orig_pathv); - curve->set_pathv(result_pathv); + curve->set_pathvector(result_pathv); } std::vector<Geom::Path> diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp index 0ffe6a7f4..30c7b162c 100644 --- a/src/live_effects/lpe-spiro.cpp +++ b/src/live_effects/lpe-spiro.cpp @@ -211,7 +211,7 @@ LPESpiro::doEffect(SPCurve * curve) g_warning("Exception during LPE Spiro execution. \n %s", e.what()); SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE, _("An exception occurred during execution of the Spiro Path Effect.") ); - curve->set_pathv(original_pathv); + curve->set_pathvector(original_pathv); } } |
