From 3c29b987ce41e49488f0da62397c8f7468cab450 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 May 2024 13:08:08 +0200 Subject: [PATCH] fixup to shape pattern --- arbitrile.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arbitrile.cpp b/arbitrile.cpp index 8046599a..ec8fde22 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -2007,7 +2007,10 @@ EX void convert() { sh.vertices.clear(); sh.connections.clear(); sh.cycle_length = id.modval; - sh.orig_id = arcm::get_graphical_id(s); + if(arcm::in()) + sh.orig_id = arcm::get_graphical_id(s); + else + sh.orig_id = shvid(s); sh.repeat_value = t / id.modval; sh.flags = hr::pseudohept(s) ? arcm::sfPH : 0; #if CAP_ARCM