summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex
index e06f73da6cc..6e9bd868185 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex
@@ -2498,6 +2498,7 @@
% use colordata of ONE corner point. That's easy, not
% much to do.
\def\pgfplotsplothandlermesh@get@flat@color{%
+ \message{pgfplotsplothandlermesh@get@flat@color^^J}%
\pgfplotspatchclass{\pgfplotsplothandlermesh@patchclass@output}{first vertex}%
\let\pgfplots@current@point@meta=\pgfplotspatchvertexmeta
\pgfplotsaxisvisphasetransformpointmeta
@@ -2509,8 +2510,8 @@
% use colordata as mean of all corners for shading.
\if0\pgfplotsplothandlermesh@colorinput
% mesh/color input=colormap
- \global\pgfplots@tmpa=0pt
\def\pgfplotsplothandlermesh@get@flat@color{%
+ \global\pgfplots@tmpa=0pt
\pgfplotspatchclass{\pgfplotsplothandlermesh@patchclass@output}{foreach cdata vertex}{%
\let\pgfplots@current@point@meta=\pgfplotspatchvertexmeta
\pgfplotsaxisvisphasetransformpointmeta
@@ -2531,13 +2532,14 @@
\def\pgfplotsplothandlermesh@get@flat@color{%
\pgfplotscolorzero{\pgfplotsplothandlermesh@explicit@color@num@comps}%
\pgfplotspatchclass{\pgfplotsplothandlermesh@patchclass@output}{foreach cdata vertex}{%
- % no-op here: \pgfplotsaxisvisphasetransformpointmeta
\pgfplotscoloraddweighted
{\pgfplotsplothandlermesh@explicit@color@num@comps}%
{\pgfplotsretval}
{\pgfplotsplothandlermesh@get@flat@color@@}%
{\pgfplotspatchvertexmeta}%
}%
+ \let\pgfplots@current@point@meta=\pgfplotspatchvertexmeta
+ \pgfplotsaxisvisphasetransformpointmeta
}%
\fi
\fi