summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-circle_3pts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-circle_3pts.cpp')
-rw-r--r--src/live_effects/lpe-circle_3pts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/live_effects/lpe-circle_3pts.cpp b/src/live_effects/lpe-circle_3pts.cpp
index cbabb5a6c..dbb1f4b6b 100644
--- a/src/live_effects/lpe-circle_3pts.cpp
+++ b/src/live_effects/lpe-circle_3pts.cpp
@@ -17,6 +17,7 @@
// You might need to include other 2geom files. You can add them here:
#include <2geom/path.h>
#include <2geom/circle.h>
+#include <2geom/path-sink.h>
namespace Inkscape {
namespace LivePathEffect {
@@ -47,7 +48,7 @@ static void _circle3(Geom::Point const &A, Geom::Point const &B, Geom::Point con
double radius = L2(M - A);
Geom::Circle c(M, radius);
- c.getPath(path_out);
+ path_out = Geom::Path(c);
}
Geom::PathVector