Fixed #8622
This commit is contained in:
@@ -202,12 +202,6 @@ public class Mods implements Loadable{
|
||||
continue;
|
||||
|
||||
//(horrible code below)
|
||||
}else if(prefix && !mod.meta.keepOutlines && name.endsWith("-outline") && file.path().contains("units") && !file.path().contains("blocks")){
|
||||
Log.warn("Sprite '@' in mod '@' is likely to be an unnecessary unit outline. These should not be separate sprites. Ignoring.", name, mod.name);
|
||||
//TODO !!! document this on the wiki !!!
|
||||
//do not allow packing standard outline sprites for now, they are no longer necessary and waste space!
|
||||
//TODO also full regions are bad: || name.endsWith("-full")
|
||||
continue;
|
||||
}
|
||||
|
||||
//read and bleed pixmaps in parallel
|
||||
|
||||
@@ -251,6 +251,8 @@ public class Weapon implements Cloneable{
|
||||
Draw.color();
|
||||
}
|
||||
|
||||
Draw.xscl = 1f;
|
||||
|
||||
if(parts.size > 0){
|
||||
//TODO does it need an outline?
|
||||
for(int i = 0; i < parts.size; i++){
|
||||
|
||||
Reference in New Issue
Block a user