From dae0aacbb7ae79d46abb5fdfea2653c7b69ae69b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 31 Jul 2021 15:09:01 +0200 Subject: [PATCH] shvid now calls require_shapes() --- floorshapes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/floorshapes.cpp b/floorshapes.cpp index 6c9f3644..a2a462f1 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -846,6 +846,7 @@ EX namespace gp { } void build_plainshape(int& id, gp::local_info& li, cell *c0, int siid, int sidir) { + cgi.require_shapes(); id = cgi.gpdata->nextid++; bool master = !(li.relative.first||li.relative.second); @@ -972,6 +973,7 @@ int hrmap_standard::shvid(cell *c) { cgi.tessf = edge_of_triangle_with_angles(0, M_PI/t, M_PI/t); cgi.crossf = cgi.tessf; + cgi.require_shapes(); println(hlog, "generating floorshapes for ", t); cgi.generate_floorshapes_for(t, &model, 0, 0); cgi.finishshape();