mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-12 05:07:06 +00:00
Merge pull request #188 from FunkinCrew/rewrite/bugfix/anim-editor-crash-fix
Hide AnimateAtlas characters in the animation editor.
This commit is contained in:
commit
041b5749d6
|
@ -253,6 +253,10 @@ class DebugBoundingState extends FlxState
|
||||||
offsetView.add(animDropDownMenu);
|
offsetView.add(animDropDownMenu);
|
||||||
|
|
||||||
var characters:Array<String> = CharacterDataParser.listCharacterIds();
|
var characters:Array<String> = CharacterDataParser.listCharacterIds();
|
||||||
|
characters = characters.filter(function(charId:String) {
|
||||||
|
var char = CharacterDataParser.fetchCharacterData(charId);
|
||||||
|
return char.renderType != AnimateAtlas;
|
||||||
|
});
|
||||||
characters.sort(SortUtil.alphabetically);
|
characters.sort(SortUtil.alphabetically);
|
||||||
|
|
||||||
var charDropdown:DropDown = cast uiStuff.findComponent('characterDropdown');
|
var charDropdown:DropDown = cast uiStuff.findComponent('characterDropdown');
|
||||||
|
|
Loading…
Reference in a new issue