diff options
Diffstat (limited to 'Build/source/utils/asymptote/base/plain_Label.asy')
-rw-r--r-- | Build/source/utils/asymptote/base/plain_Label.asy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/base/plain_Label.asy b/Build/source/utils/asymptote/base/plain_Label.asy index 86d11f8acc0..623619f4a0c 100644 --- a/Build/source/utils/asymptote/base/plain_Label.asy +++ b/Build/source/utils/asymptote/base/plain_Label.asy @@ -625,6 +625,7 @@ path[] texpath(Label L, bool tex=settings.tex != "none", bool bbox=false) } path[] transform(path[] g, Label L) { + if(g.length == 0) return g; pair m=min(g); pair M=max(g); pair dir=rectify(inverse(L.T)*-L.align.dir); |