summaryrefslogtreecommitdiff
path: root/Master/texmf/asymptote/graph3.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/asymptote/graph3.asy')
-rw-r--r--Master/texmf/asymptote/graph3.asy6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf/asymptote/graph3.asy b/Master/texmf/asymptote/graph3.asy
index c2630e10f11..1357f3e7c87 100644
--- a/Master/texmf/asymptote/graph3.asy
+++ b/Master/texmf/asymptote/graph3.asy
@@ -1572,8 +1572,10 @@ surface surface(triple[][] f, bool[][] cond={})
}
}
- if(uperiodic(f)) s.ucyclic(true);
- if(vperiodic(f)) s.vcyclic(true);
+ if(count == nx*ny) {
+ if(uperiodic(f)) s.ucyclic(true);
+ if(vperiodic(f)) s.vcyclic(true);
+ }
return s;
}