summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawfill.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/drawfill.h')
-rw-r--r--Build/source/utils/asymptote/drawfill.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/drawfill.h b/Build/source/utils/asymptote/drawfill.h
index 71e2c9042c2..14666d1df5f 100644
--- a/Build/source/utils/asymptote/drawfill.h
+++ b/Build/source/utils/asymptote/drawfill.h
@@ -166,8 +166,10 @@ public:
drawFunctionShade(const vm::array& src, bool stroke, pen pentype,
const string& shader)
: drawFill(src,stroke,pentype), shader(shader) {
- if(!settings::pdf(settings::getSetting<string>("tex")))
- reportError("functionshade requires -tex pdftex or -tex pdflatex");
+ string texengine=settings::getSetting<string>("tex");
+ if(!settings::pdf(texengine))
+ reportError("functionshade is not implemented for the '"+texengine+
+ "' tex engine");
}
virtual ~drawFunctionShade() {}