1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-08-20 07:25:59 +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:
Cameron Taylor 2023-10-19 00:44:05 -04:00 committed by GitHub
commit 041b5749d6

View file

@ -253,6 +253,10 @@ class DebugBoundingState extends FlxState
offsetView.add(animDropDownMenu);
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);
var charDropdown:DropDown = cast uiStuff.findComponent('characterDropdown');