Skip to content

Commit

Permalink
Revert "Invert transform before assigning intersection #889"
Browse files Browse the repository at this point in the history
This reverts commit 908db00.
  • Loading branch information
hmenke committed Oct 1, 2020
1 parent 082a972 commit 0aac8f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
\pgfmathloop%
\ifnum\pgfmathcounter>\pgfintersectionsolutions\relax%
\else%
\path\pgfextra{\pgftransformshift{\pgfpointintersectionsolution{\pgfmathcounter}}}%
\path[reset cm]\pgfextra{\pgftransformshift{\pgfpointintersectionsolution{\pgfmathcounter}}}%
coordinate (\tikz@intersect@@name-\pgfmathcounter);
\repeatpgfmathloop%
\ifx\tikz@intersect@by\pgfutil@empty%
Expand Down
2 changes: 0 additions & 2 deletions tex/generic/pgf/libraries/pgflibraryintersections.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,7 @@
\pgf@iflinesintersect{#1}{#2}{#3}{#4}%
{%
\pgfextract@process\pgf@intersect@solution@candidate{%
\pgftransforminvert
% pgf@x and pgf@y are already assigned by \pgf@iflinesintersect
\pgfpointtransformed{\pgfqpoint{\pgf@x}{\pgf@y}}%
}%
\pgf@ifsolution@duplicate{\pgf@intersect@solution@candidate}{%
% ah - we a duplicate. Apparently, we have a hit on an
Expand Down

0 comments on commit 0aac8f6

Please sign in to comment.