Files
sporel-lib-core.puppet/init.lua
Axel Meyer 58da7fd104 Write atlas_uv onto bones_by_id, not rig.bones
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>
2026-05-22 00:34:30 +02:00

51 KiB