summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/three.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-21 23:02:35 +0000
committerKarl Berry <karl@freefriends.org>2014-04-21 23:02:35 +0000
commitfab654a7fafba60c3d1e32040ad16d19b5dfd550 (patch)
tree699549d43c84af6b176173d794f17c7cc7164bc6 /Master/texmf-dist/asymptote/three.asy
parentea58320b10f549a61236be100fc97925aea6b489 (diff)
asymptote 2.25 for TL14
git-svn-id: svn://tug.org/texlive/trunk@33606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/three.asy')
-rw-r--r--Master/texmf-dist/asymptote/three.asy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/asymptote/three.asy b/Master/texmf-dist/asymptote/three.asy
index ceb8cf89574..1c3716173d3 100644
--- a/Master/texmf-dist/asymptote/three.asy
+++ b/Master/texmf-dist/asymptote/three.asy
@@ -2630,7 +2630,7 @@ string embed3D(string prefix, string label=prefix, string text=label,
if(lightscript)
writeJavaScript(name,lightscript(light),script);
- if(!settings.inlinetex)
+ if(!settings.inlinetex && !prconly())
file3.push(prefix+".prc");
static transform3 flipxz=xscale3(-1)*zscale3(-1);
@@ -2867,13 +2867,13 @@ object embed(string prefix=outprefix(), string label=prefix,
if(prefix == "") prefix=outprefix();
bool prc=prc(format);
- bool preview=settings.render > 0;
+ bool preview=settings.render > 0 && !prconly();
if(prc) {
// The media9.sty package cannot handle spaces or dots in filenames.
string dir=stripfile(prefix);
prefix=dir+replace(stripdirectory(prefix),
new string[][]{{" ","_"},{".","_"}});
- if(settings.embed || nativeformat() == "pdf")
+ if((settings.embed || nativeformat() == "pdf") && !prconly())
prefix += "+"+(string) file3.length;
} else
preview=false;