From 4c281d3f704bfc4939603a53fd97015107d79fcb Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 12 Nov 2007 18:59:48 +0000 Subject: LPE: no longer overload doEffect methods, but name them according to accepted arguments. This saves developer brain time because of 'hiding' issues. (bzr r4067) --- src/live_effects/lpe-test-doEffect-stack.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/live_effects/lpe-test-doEffect-stack.cpp') diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp index d071050e9..f6ecad562 100644 --- a/src/live_effects/lpe-test-doEffect-stack.cpp +++ b/src/live_effects/lpe-test-doEffect-stack.cpp @@ -40,10 +40,10 @@ LPEdoEffectStackTest::doEffect (SPCurve * curve) } NArtBpath * -LPEdoEffectStackTest::doEffect (NArtBpath * path_in) +LPEdoEffectStackTest::doEffect_nartbpath (NArtBpath * path_in) { if (step >= 2) { - return Effect::doEffect(path_in); + return Effect::doEffect_nartbpath(path_in); } else { // return here NArtBpath *path_out; @@ -61,10 +61,10 @@ LPEdoEffectStackTest::doEffect (NArtBpath * path_in) } std::vector -LPEdoEffectStackTest::doEffect (std::vector & path_in) +LPEdoEffectStackTest::doEffect_path (std::vector & path_in) { if (step >= 3) { - return Effect::doEffect(path_in); + return Effect::doEffect_path(path_in); } else { // return here std::vector path_out = path_in; @@ -73,7 +73,7 @@ LPEdoEffectStackTest::doEffect (std::vector & path_in) } Geom::Piecewise > -LPEdoEffectStackTest::doEffect (Geom::Piecewise > & pwd2_in) +LPEdoEffectStackTest::doEffect_pwd2 (Geom::Piecewise > & pwd2_in) { Geom::Piecewise > output = pwd2_in; -- cgit v1.2.3