Skip to content

Commit

Permalink
render2: pad obj carry appropriately.
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicibo committed Sep 1, 2024
1 parent aaad9df commit 0b499c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SUPer/render2.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ def get_palette_data(pal_manager: PaletteManager, node: DSNode) -> tuple[int, in
for wid, _ in enumerate(self.windows):
obj_carry[wid] += [False] if future_node.obj_carry is None else future_node.obj_carry[wid]
nodes[i].obj_carry = obj_carry
assert len(obj_carry[0]) == k-i or not (any(obj_carry[0]) or (len(self.windows) == 2 and any(obj_carry[1])))
nodes[i].obj_carry += [False] * ((k-i)-len(obj_carry))

r = self._generate_acquisition_ds(i, k, pgobs_items, nodes[i], double_buffering,
has_two_objs, ods_reg, c_pts, normal_case_refresh, flags)
Expand Down

0 comments on commit 0b499c4

Please sign in to comment.