summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-powerstroke.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-24 23:31:44 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-24 23:31:44 +0000
commitfae4db6d2c975173a6768bd4984eb707265f4e43 (patch)
tree5f2a213743a58ba45d47aeb5e49f67d3e0b78981 /src/live_effects/lpe-powerstroke.cpp
parentastyle (diff)
parent3D box tool: the shift key must not prevent snapping of the vanishing point. ... (diff)
downloadinkscape-fae4db6d2c975173a6768bd4984eb707265f4e43.tar.gz
inkscape-fae4db6d2c975173a6768bd4984eb707265f4e43.zip
update to trunk
(bzr r13645.1.106)
Diffstat (limited to 'src/live_effects/lpe-powerstroke.cpp')
-rw-r--r--src/live_effects/lpe-powerstroke.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-powerstroke.cpp b/src/live_effects/lpe-powerstroke.cpp
index 6ce912bcb..f90d67d4e 100644
--- a/src/live_effects/lpe-powerstroke.cpp
+++ b/src/live_effects/lpe-powerstroke.cpp
@@ -49,7 +49,7 @@ static boost::optional<Point> intersection_point( Point const & origin_a, Point
{
Coord denom = cross(vector_a, vector_b);
if (!are_near(denom,0.)){
- Coord t = (cross(origin_b, vector_a) + cross(origin_b, vector_b)) / denom;
+ Coord t = (cross(vector_b, origin_a) + cross(origin_b, vector_b)) / denom;
return origin_a + t * vector_a;
}
return boost::none;