diff options
Diffstat (limited to 'Build/source/utils/asymptote/base/graph3.asy')
-rw-r--r-- | Build/source/utils/asymptote/base/graph3.asy | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/base/graph3.asy b/Build/source/utils/asymptote/base/graph3.asy index c2630e10f11..1357f3e7c87 100644 --- a/Build/source/utils/asymptote/base/graph3.asy +++ b/Build/source/utils/asymptote/base/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; } |