Misc fixes for mods (2)
This commit is contained in:
@@ -1250,9 +1250,7 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
}
|
||||
}
|
||||
|
||||
if(Core.settings.getBool("linear", true)){
|
||||
Pixmaps.bleed(out);
|
||||
}
|
||||
Drawf.checkBleed(out);
|
||||
|
||||
packer.add(PageType.main, name + "-team-" + team.name, out);
|
||||
}
|
||||
@@ -1272,9 +1270,7 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
AtlasRegion atlasRegion = (AtlasRegion)gen[outlinedIcon >= 0 ? Math.min(outlinedIcon, gen.length - 1) : gen.length -1];
|
||||
PixmapRegion region = Core.atlas.getPixmap(atlasRegion);
|
||||
Pixmap out = last = Pixmaps.outline(region, outlineColor, outlineRadius);
|
||||
if(Core.settings.getBool("linear", true)){
|
||||
Pixmaps.bleed(out);
|
||||
}
|
||||
Drawf.checkBleed(out);
|
||||
packer.add(PageType.main, atlasRegion.name, out);
|
||||
}
|
||||
|
||||
@@ -1286,7 +1282,7 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
String regionName = atlas.name;
|
||||
Pixmap outlined = Pixmaps.outline(Core.atlas.getPixmap(region), outlineColor, outlineRadius);
|
||||
|
||||
if(Core.settings.getBool("linear", true)) Pixmaps.bleed(outlined);
|
||||
Drawf.checkBleed(outlined);
|
||||
|
||||
packer.add(PageType.main, regionName + "-outline", outlined);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user