From a88262a5f4d16d64cc070aa1f56c0b4c04b3b83f Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Wed, 11 Oct 2023 19:16:04 -0400 Subject: [PATCH] Hide AnimateAtlas characters in the animation editor. --- source/funkin/ui/animDebugShit/DebugBoundingState.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/funkin/ui/animDebugShit/DebugBoundingState.hx b/source/funkin/ui/animDebugShit/DebugBoundingState.hx index 4e3d1dbf4..297c44e8e 100644 --- a/source/funkin/ui/animDebugShit/DebugBoundingState.hx +++ b/source/funkin/ui/animDebugShit/DebugBoundingState.hx @@ -253,6 +253,10 @@ class DebugBoundingState extends FlxState offsetView.add(animDropDownMenu); var characters:Array = 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');