summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-12 23:01:15 +0000
committerKarl Berry <karl@freefriends.org>2016-05-12 23:01:15 +0000
commit6128978e2dfcec884dc7e267ad57a10fdeaa9060 (patch)
treeca07615b8a94b0e6f6f8136264dedee23d55a4d9 /Master/texmf-dist/asymptote
parentddf191164edb5155c403b9b622dbd3e4d0822cd0 (diff)
asymptote 2.38
git-svn-id: svn://tug.org/texlive/trunk@41076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote')
-rwxr-xr-xMaster/texmf-dist/asymptote/GUI/xasyVersion.py2
-rw-r--r--Master/texmf-dist/asymptote/asy-keywords.el2
-rw-r--r--Master/texmf-dist/asymptote/solids.asy3
-rw-r--r--Master/texmf-dist/asymptote/version.asy2
4 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasyVersion.py b/Master/texmf-dist/asymptote/GUI/xasyVersion.py
index 83cd6c96fa7..1ef1c03069e 100755
--- a/Master/texmf-dist/asymptote/GUI/xasyVersion.py
+++ b/Master/texmf-dist/asymptote/GUI/xasyVersion.py
@@ -1,2 +1,2 @@
#!/usr/bin/env python
-xasyVersion = "2.37"
+xasyVersion = "2.38"
diff --git a/Master/texmf-dist/asymptote/asy-keywords.el b/Master/texmf-dist/asymptote/asy-keywords.el
index 2b6e9e561d4..4d166f4cab8 100644
--- a/Master/texmf-dist/asymptote/asy-keywords.el
+++ b/Master/texmf-dist/asymptote/asy-keywords.el
@@ -2,7 +2,7 @@
;; This file is automatically generated by asy-list.pl.
;; Changes will be overwritten.
;;
-(defvar asy-keywords-version "2.37")
+(defvar asy-keywords-version "2.38")
(defvar asy-keyword-name '(
and controls tension atleast curl if else while for do return break continue struct typedef new access import unravel from include quote static public private restricted this explicit true false null cycle newframe operator ))
diff --git a/Master/texmf-dist/asymptote/solids.asy b/Master/texmf-dist/asymptote/solids.asy
index 09bccd32aa9..90f01dc935f 100644
--- a/Master/texmf-dist/asymptote/solids.asy
+++ b/Master/texmf-dist/asymptote/solids.asy
@@ -300,7 +300,8 @@ struct revolution {
path3 p1=subpath(p,0,t);
path3 p2=subpath(p,t,length(p));
if(length(p1) > 0 &&
- abs(midpoint(p1)-camera) <= abs(midpoint(p2)-camera)) {
+ (length(p2) == 0 ||
+ abs(midpoint(p1)-camera) <= abs(midpoint(p2)-camera))) {
s.longitudinal.front.push(p1);
s.longitudinal.back.push(p2);
} else {
diff --git a/Master/texmf-dist/asymptote/version.asy b/Master/texmf-dist/asymptote/version.asy
index 7cd9bd7a245..971aacd2582 100644
--- a/Master/texmf-dist/asymptote/version.asy
+++ b/Master/texmf-dist/asymptote/version.asy
@@ -1 +1 @@
-string VERSION="2.37";
+string VERSION="2.38";