From 6affd61c359347490f8a5f3ff8b6cb9de94d9d53 Mon Sep 17 00:00:00 2001 From: grom Date: Sun, 18 Oct 2026 16:14:22 -0600 Subject: [PATCH] doc: the model pane's skins link points at the struct that has them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `doc-links` was the last red gate, on one link dating from the fork's import (`81d96af3`): `script::types.rs`'s `QuadContent::ModelPane::skins` cited `widget::kinds::ModelState::skins`, a field that never existed on that struct. The three creature skin variations live on `script::CreatureModelView`, which is what a display id resolves to for a pane, so the link now goes there — by the public re-export rather than through the private `model` module. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01SgstFWtn1RxEJ5kVrpgYwn --- crates/benilla-ui/src/script/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/benilla-ui/src/script/types.rs b/crates/benilla-ui/src/script/types.rs index ec242226..d4992e1e 100644 --- a/crates/benilla-ui/src/script/types.rs +++ b/crates/benilla-ui/src/script/types.rs @@ -121,8 +121,8 @@ pub enum QuadContent { /// The `SetModel` file; `None` for a unit pane or an empty one. model: Option, /// The creature skin variations for a pane showing a display id - /// ([`crate::widget::kinds::ModelState::skins`]); all `None` for an ordinary file, whose - /// batches name their own textures. + /// ([`crate::script::CreatureModelView::skins`]); all `None` for an ordinary file, + /// whose batches name their own textures. skins: [Option; 3], /// `PlayerModel:SetUnit`'s subject, resolved this frame; `None` for a file pane, an empty /// one, or a token that names nothing right now.