Don't create outlines in units if they already exist
This commit is contained in:
@@ -960,7 +960,7 @@ public class UnitType extends UnlockableContent implements Senseable{
|
||||
getRegionsToOutline(toOutline);
|
||||
|
||||
for(var region : toOutline){
|
||||
if(region instanceof AtlasRegion atlas){
|
||||
if(region instanceof AtlasRegion atlas && !Core.atlas.has(atlas.name + "-outline")){
|
||||
String regionName = atlas.name;
|
||||
Pixmap outlined = Pixmaps.outline(Core.atlas.getPixmap(region), outlineColor, outlineRadius);
|
||||
|
||||
|
||||
@@ -25,4 +25,4 @@ org.gradle.caching=true
|
||||
#used for slow jitpack builds; TODO see if this actually works
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
archash=8fdcdbfccc
|
||||
archash=137d14855f
|
||||
|
||||
Reference in New Issue
Block a user