diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex index e73f87a59d2..82fdfd68619 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex @@ -283,6 +283,13 @@ \pgfplotslibrarysurfstreamend@set@BB } +\def\pgfplotslibrarysurfdraw{% + \ifx\pgfplotslibrarysurf@binarystream\pgfutil@empty + \else + \pgfplotslibrarysurfdraw@sys + \fi +}% + \def\pgfplotslibrarysurfstreamend@set@BB{% \xdef\pgfplotslibrarysurf@corner@sw{% \global\pgf@x=\the\pgf@pathminx\space @@ -353,7 +360,7 @@ \edef\pgfplots@loc@TMPa{#1}% \def\pgfplotsretval{}% \expandafter\pgfplotslibrarysurf@encode@cdata@loop\pgfplots@loc@TMPa,,% - \let\pgfplotsbinaryresult=\pgfplotsretval + \global\let\pgfplotsbinaryresult=\pgfplotsretval \fi } @@ -623,7 +630,7 @@ \input pgflibrarypgfplots.surfshading.\pgfsysdriver\relax \def\pgflibrarysurfshadingifactive#1#2{#1}% }{% - \def\pgfplotslibrarysurfdraw{% + \def\pgfplotslibrarysurfdraw@sys{% \pgfplots@error{Sorry, surfshading (shader=interp) is NOT available for the selected driver `\pgfsysdriver'.}% }% \def\pgflibrarysurfshadingifactive#1#2{#2}% |