mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
[libgdx] Limit the number of entries nulled when a skin is cleared.
This commit is contained in:
parent
a97728a416
commit
69df56826d
@ -94,7 +94,7 @@ public class Skin {
|
||||
public void clear () {
|
||||
for (Key key : attachments.keys())
|
||||
keyPool.free(key);
|
||||
attachments.clear();
|
||||
attachments.clear(1024);
|
||||
}
|
||||
|
||||
/** The skin's name, which is unique within the skeleton. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user