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.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/utils/asymptote/drawpath3.cc b/Build/source/utils/asymptote/drawpath3.cc
index f712d9b703d..3a66247498b 100644
--- a/Build/source/utils/asymptote/drawpath3.cc
+++ b/Build/source/utils/asymptote/drawpath3.cc
@@ -83,6 +83,11 @@ void drawPath3::render(double size2, const triple& b, const triple& B,
Int n=g.length();
if(n == 0 || invisible) return;
+ RGBAColour Black(0.0,0.0,0.0,color.A);
+ setcolors(false,Black,color,Black,1.0,0.0,0.04);
+
+ setMaterial(material1Data,drawMaterial1);
+
bool offscreen;
if(billboard) {
drawElement::centerIndex=centerIndex;
@@ -91,11 +96,6 @@ void drawPath3::render(double size2, const triple& b, const triple& B,
} else
offscreen=bbox2(Min,Max).offscreen();
- RGBAColour Black(0.0,0.0,0.0,color.A);
- setcolors(false,Black,color,Black,1.0,0.0,0.04);
-
- setMaterial(material1Data,drawMaterial1);
-
if(offscreen) { // Fully offscreen
R.Onscreen=false;
R.data.clear();