diff options
Diffstat (limited to 'Build/source/utils/asymptote/base/plain_shipout.asy')
-rw-r--r-- | Build/source/utils/asymptote/base/plain_shipout.asy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/base/plain_shipout.asy b/Build/source/utils/asymptote/base/plain_shipout.asy index 2e86822cad0..9691a8e2fcf 100644 --- a/Build/source/utils/asymptote/base/plain_shipout.asy +++ b/Build/source/utils/asymptote/base/plain_shipout.asy @@ -93,10 +93,11 @@ void shipout(string prefix=defaultfilename, picture pic=currentpicture, if(!uptodate()) { bool inlinetex=settings.inlinetex; bool prc=prc(format); - if(prc && !pic.empty3()) + bool empty3=pic.empty3(); + if(prc && !empty3) settings.inlinetex=settings.inlineimage; frame f=pic.fit(prefix,format,view=view,options,script,light,P); - if(!pic.empty2() || settings.render == 0 || prc) + if(!pic.empty2() || settings.render == 0 || prc || empty3) shipout(prefix,orientation(f),format,wait,view); settings.inlinetex=inlinetex; } |