diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-30 03:00:43 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-30 03:00:43 +0000 |
commit | bbbe8128e7ae9d816a221377dbf5ff3969bb203b (patch) | |
tree | 0283a521760b879b30e61872f14f235645745675 /graphics/asymptote/base/three.asy | |
parent | 14ce8b68fe7df49e8a8891bb94c63b9a846da232 (diff) |
CTAN sync 201909300300
Diffstat (limited to 'graphics/asymptote/base/three.asy')
-rw-r--r-- | graphics/asymptote/base/three.asy | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/asymptote/base/three.asy b/graphics/asymptote/base/three.asy index 866137b1db..2b32fd1612 100644 --- a/graphics/asymptote/base/three.asy +++ b/graphics/asymptote/base/three.asy @@ -2887,10 +2887,13 @@ object embed(string prefix=outprefix(), string label=prefix, m -= margin; } else if(M.z >= 0) abort("camera too close"); + if(settings.outformat == "html") + format="html"; + shipout3(prefix,f,preview ? nativeformat() : format, S.width-defaultrender.margin,S.height-defaultrender.margin, P.infinity ? 0 : 2aTan(Tan(0.5*P.angle)*P.zoom), - P.zoom,m,M,P.viewportshift, + P.zoom,m,M,P.viewportshift,S.viewportmargin, tinv*inv*shift(0,0,zcenter),Light.background(),Light.position, Light.diffuse,Light.specular, view && !preview); |