Shape.SetLine writes through the indexer so it invalidates the caches; footprint tests pin refusal Position and a wide shape

Builds: yes (Shared-only; verified on Yggdrasil in the report).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 14:33:41 +02:00
commit 1349953500
3 changed files with 43 additions and 1 deletions

View file

@ -276,7 +276,7 @@ public class Shape
{
if (x >= 0 && x < Width && y >= 0 && y < Height)
{
Cells[steep ? y : x, steep ? x : y] = true;
this[int2(steep ? y : x, steep ? x : y)] = true;
}
error += derr;
if (error >= 0.5f)