diff --git a/src/madl_plot.mad b/src/madl_plot.mad index b871b2c78..ff97fe2ea 100644 --- a/src/madl_plot.mad +++ b/src/madl_plot.mad @@ -557,6 +557,9 @@ local function layout_process_in (param, pseq) idx = idx + 1 elseif line.slc == 1 and elm.kind == "rbend" then -- Patch to bline, rbend bline should go through the magnet center shift[1] = srv[i-1].x + elseif elm.is_patch and line.slc == -2 then -- Patches don't have a slc 0 + data[idx] = {line.__map, shift} + idx = idx + 1 end end