From 6128978e2dfcec884dc7e267ad57a10fdeaa9060 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 May 2016 23:01:15 +0000 Subject: asymptote 2.38 git-svn-id: svn://tug.org/texlive/trunk@41076 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/asymptote/GUI/xasyVersion.py | 2 +- Master/texmf-dist/asymptote/asy-keywords.el | 2 +- Master/texmf-dist/asymptote/solids.asy | 3 ++- Master/texmf-dist/asymptote/version.asy | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/asymptote') 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"; -- cgit v1.2.3