diff options
author | Norbert Preining <norbert@preining.info> | 2019-11-19 03:02:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-11-19 03:02:21 +0000 |
commit | 025f7bfee79d7817a876831bb19f34a2dfb1b2e2 (patch) | |
tree | 76efc8c89514583aae7ddb55b59bfb879500a09d /graphics/asymptote/drawpath3.cc | |
parent | 96f9362fc3e3bb70fa2411c62418c42d9acda4d7 (diff) |
CTAN sync 201911190302
Diffstat (limited to 'graphics/asymptote/drawpath3.cc')
-rw-r--r-- | graphics/asymptote/drawpath3.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/asymptote/drawpath3.cc b/graphics/asymptote/drawpath3.cc index f712d9b703..3a66247498 100644 --- a/graphics/asymptote/drawpath3.cc +++ b/graphics/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(); |