summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/obj.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/base/obj.asy')
-rw-r--r--Build/source/utils/asymptote/base/obj.asy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/base/obj.asy b/Build/source/utils/asymptote/base/obj.asy
index 02f839b594d..158d417c136 100644
--- a/Build/source/utils/asymptote/base/obj.asy
+++ b/Build/source/utils/asymptote/base/obj.asy
@@ -21,7 +21,7 @@ struct obj {
pen[] meshpen;
path3[][] read(string datafile, bool verbose=false) {
- file in=word(line(input(datafile)));
+ file in=input(datafile).word().line();
triple[] vert;
path3[][] g;
g[0]=new path3[] ;
@@ -92,8 +92,8 @@ struct obj {
material surfacepen, pen meshpen=nullpen) {
material[] surfacepen={surfacepen};
pen[] meshpen={meshpen};
- surfacepen.cyclic(true);
- meshpen.cyclic(true);
+ surfacepen.cyclic=true;
+ meshpen.cyclic=true;
operator init(read(datafile,verbose),surfacepen,meshpen);
}
}