A significant waste of time and effort
This commit is contained in:
@@ -220,6 +220,9 @@ public class Generators{
|
||||
block.load();
|
||||
block.loadIcon();
|
||||
|
||||
Seq<TextureRegion> toOutline = new Seq<>();
|
||||
block.getRegionsToOutline(toOutline);
|
||||
|
||||
TextureRegion[] regions = block.getGeneratedIcons();
|
||||
|
||||
if(block.variants > 0 || block instanceof Floor){
|
||||
@@ -257,6 +260,13 @@ public class Generators{
|
||||
}
|
||||
}
|
||||
|
||||
if(toOutline != null){
|
||||
for(TextureRegion region : toOutline){
|
||||
Pixmap pix = get(region).outline(block.outlineColor, block.outlineRadius);
|
||||
save(pix, ((GenRegion)region).name + "-outline");
|
||||
}
|
||||
}
|
||||
|
||||
if(regions.length == 0){
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user