summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/cheese.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/cheese.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/cheese.asy5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/cheese.asy b/Master/texmf-dist/doc/asymptote/examples/cheese.asy
index 9a16e4130dc..05b9181fdf4 100644
--- a/Master/texmf-dist/doc/asymptote/examples/cheese.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/cheese.asy
@@ -9,4 +9,7 @@ real f(real x, real y, real z) {
surface sf=surface(contour3(f,(-2pi,-2pi,-2pi),(2pi,2pi,2pi),12));
sf.colors(palette(sf.map(abs),Gradient(red,yellow)));
-draw(sf,nolight,render(merge=true));
+
+currentlight=nolight;
+
+draw(sf,render(merge=true));