summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawsurface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/drawsurface.cc')
-rw-r--r--Build/source/utils/asymptote/drawsurface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/drawsurface.cc b/Build/source/utils/asymptote/drawsurface.cc
index dcf05c509fc..bc9705e58b0 100644
--- a/Build/source/utils/asymptote/drawsurface.cc
+++ b/Build/source/utils/asymptote/drawsurface.cc
@@ -222,8 +222,8 @@ void drawSurface::render(GLUnurbs *nurb, double size2,
static GLfloat v1[16];
static GLfloat v2[16];
- bool havebillboard=interaction == BILLBOARD;
-
+ bool havebillboard=interaction == BILLBOARD &&
+ !settings::getSetting<bool>("offscreen");
triple m,M;
if(perspective || !havebillboard) {
initMatrix(v1,v2);