summaryrefslogtreecommitdiff
path: root/graphics/asymptote/runpicture.in
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/runpicture.in')
-rw-r--r--graphics/asymptote/runpicture.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/asymptote/runpicture.in b/graphics/asymptote/runpicture.in
index 56431b9be7..421a97db8e 100644
--- a/graphics/asymptote/runpicture.in
+++ b/graphics/asymptote/runpicture.in
@@ -470,26 +470,29 @@ void _shipout(string prefix=emptystring, picture *f, picture *preamble=NULL,
void shipout3(string prefix, picture *f, string format=emptystring,
real width, real height, real angle, real zoom,
triple m, triple M, pair shift, pair margin, realarray2 *t,
+ realarray2 *tup,
realarray *background, triplearray *lights, realarray2 *diffuse,
realarray2 *specular, bool view=true)
{
size_t n=checkArrays(lights,diffuse);
checkEqual(n,checkArray(specular));
- real *T,*Background,*Diffuse,*Specular;
+ real *T,*Tup,*Background,*Diffuse,*Specular;
triple *Lights;
copyArray2C(T,t,true,4);
+ copyArray2C(Tup,tup,true,4);
copyArrayC(Background,background);
copyArrayC(Lights,lights);
copyArray2C(Diffuse,diffuse,false,4,UseGC);
copyArray2C(Specular,specular,false,4,UseGC);
- f->shipout3(prefix,format,width,height,angle,zoom,m,M,shift,margin,T,
+ f->shipout3(prefix,format,width,height,angle,zoom,m,M,shift,margin,T,Tup,
Background,n,Lights,Diffuse,Specular,view);
delete[] Background;
delete[] T;
+ delete[] Tup;
}
void shipout3(string prefix, picture *f, string format=defaultformat3)