The render loop iterates bones_z_sorted, which contains references to the bones_by_id objects build_rig constructs. rig.bones is the original rig_table.bones source array, which is a separate set of bone objects. load_textures was writing atlas_uv onto rig.bones entries, so render never saw it and every textured bone fell through to the colored-rect phase-1 fallback. Vagrant-skeleton's puppet rendered as bare rotated rects instead of subterrain sprites. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51 KiB
51 KiB