summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawpath3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/drawpath3.cc')
-rw-r--r--Build/source/utils/asymptote/drawpath3.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/drawpath3.cc b/Build/source/utils/asymptote/drawpath3.cc
index 2ba8d7c6a80..07c64ef1a9f 100644
--- a/Build/source/utils/asymptote/drawpath3.cc
+++ b/Build/source/utils/asymptote/drawpath3.cc
@@ -87,7 +87,9 @@ void drawPath3::render(double size2, const triple& b, const triple& B,
setMaterial(material1Data,drawMaterial1);
bool offscreen;
- if(billboard) {
+ if(gl::exporting)
+ offscreen=false;
+ else if(billboard) {
drawElement::centerIndex=centerIndex;
BB.init(center);
offscreen=bbox2(Min,Max,BB).offscreen();
@@ -263,7 +265,7 @@ void drawPixel::render(double size2, const triple& b, const triple& B,
setMaterial(material0Data,drawMaterial0);
- if(bbox2(Min,Max).offscreen()) { // Fully offscreen
+ if(!gl::exporting && bbox2(Min,Max).offscreen()) { // Fully offscreen
R.data.clear();
return;
}