d
This commit is contained in:
@@ -314,7 +314,6 @@ public class Generators{
|
||||
type.init();
|
||||
|
||||
Color outc = Pal.darkerMetal;
|
||||
//Func<Image, Image> outlineS = i -> i.shadow(0.8f, 9);
|
||||
Func<Image, Image> outline = i -> i.outline(3, outc);
|
||||
Cons<TextureRegion> outliner = t -> {
|
||||
if(t != null && t.found()){
|
||||
@@ -325,15 +324,9 @@ public class Generators{
|
||||
for(Weapon weapon : type.weapons){
|
||||
if(outlined.add(weapon.name) && ImagePacker.has(weapon.name)){
|
||||
outline.get(ImagePacker.get(weapon.name)).save(weapon.name + "-outline");
|
||||
|
||||
//old outline
|
||||
//ImagePacker.get(weapon.name).outline(4, Pal.darkerMetal).save(weapon.name);
|
||||
}
|
||||
}
|
||||
|
||||
//baseRegion, legRegion, region, shadowRegion, cellRegion,
|
||||
// occlusionRegion, jointRegion, footRegion, legBaseRegion, baseJointRegion, outlineRegion;
|
||||
|
||||
outliner.get(type.jointRegion);
|
||||
outliner.get(type.footRegion);
|
||||
outliner.get(type.legBaseRegion);
|
||||
@@ -343,7 +336,6 @@ public class Generators{
|
||||
Image image = ImagePacker.get(type.region);
|
||||
|
||||
outline.get(image).save(type.name + "-outline");
|
||||
//ImagePacker.replace(type.region, outline.get(image));
|
||||
|
||||
if(type.constructor.get() instanceof Mechc){
|
||||
image.drawCenter(type.baseRegion);
|
||||
|
||||
Reference in New Issue
Block a user