summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/plain_xasy.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/base/plain_xasy.asy')
-rw-r--r--Build/source/utils/asymptote/base/plain_xasy.asy6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/base/plain_xasy.asy b/Build/source/utils/asymptote/base/plain_xasy.asy
index 162cbfb35ad..efc739d8385 100644
--- a/Build/source/utils/asymptote/base/plain_xasy.asy
+++ b/Build/source/utils/asymptote/base/plain_xasy.asy
@@ -113,11 +113,15 @@ struct framedTransformStack {
toPush[tList[a].index]=transact(tList[a]);
for(int a=0; a < toPush.length; ++a)
if(!toPush.initialized(a))
- toPush[a]=transact();
+ toPush[a]=transact();
report("Added");
report(toPush.length);
stack.append(toPush);
}
+
+ bool empty() {
+ return stack.length == 0;
+ }
}
framedTransformStack xformStack;