[editor-only] white-pixel is important! Shouldn't be deleted from the project

This commit is contained in:
fgnm
2022-05-15 11:56:22 +02:00
parent fadc1f27f8
commit 0a35ca3c8e
@@ -92,6 +92,7 @@ public class UIImagesTabMediator extends UIResourcesTabMediator<UIImagesTab> {
Array<TextureAtlas.AtlasRegion> atlasRegions = atlas.getRegions();
for (TextureAtlas.AtlasRegion region : new Array.ArrayIterator<>(atlasRegions)) {
if (region.name.equals("white-pixel")) continue;
if(!projectInfoVO.imagesPacks.get(atlasName).regions.contains(region.name)
|| !region.name.toLowerCase().contains(searchText)
|| filterResource(region.name, EntityFactory.IMAGE_TYPE)) continue;