From f0533b6093b1004d1fb9e23f325a9a7faab73369 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Tue, 30 Apr 2019 16:28:21 +0200 Subject: [PATCH] Javadocs. --- .../src/com/esotericsoftware/spine/Skeleton.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java index c254dd0ee..cdfddbba0 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java @@ -155,8 +155,8 @@ public class Skeleton { updateCache(); } - /** Caches information about bones and constraints. Must be called if the skin is changed or if bones, constraints, or weighted - * path attachments are added or removed. */ + /** Caches information about bones and constraints. Must be called if the skin is modified or if bones, constraints, or + * weighted path attachments are added or removed. */ public void updateCache () { Array updateCache = this.updateCache; updateCache.clear(); @@ -512,7 +512,8 @@ public class Skeleton { setSkin(skin); } - /** Sets the skin used to look up attachments before looking in the {@link SkeletonData#getDefaultSkin() default skin}. + /** Sets the skin used to look up attachments before looking in the {@link SkeletonData#getDefaultSkin() default skin}. If the + * skin is changed, {@link #updateCache()} is called. *

* Attachments from the new skin are attached if the corresponding attachment from the old skin was attached. If there was no * old skin, each slot's setup mode attachment is attached from the new skin.