mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-09 23:37:51 +07:00
Fixed a crash
This commit is contained in:
@ -37,7 +37,7 @@ public class PlanetDialog extends FloatingDialog{
|
||||
|
||||
private final Mesh[] outlines = new Mesh[10];
|
||||
private final Camera3D cam = new Camera3D();
|
||||
private final VertexBatch3D batch = new VertexBatch3D(false, true, 0);
|
||||
private final VertexBatch3D batch = new VertexBatch3D(10000, false, true, 0);
|
||||
private final PlaneBatch3D projector = new PlaneBatch3D();
|
||||
private final Mat3D mat = new Mat3D();
|
||||
private final Vec3 camRelative = new Vec3();
|
||||
|
@ -41,7 +41,7 @@ task run(dependsOn: classes, type: JavaExec){
|
||||
task dist(type: Jar, dependsOn: classes){
|
||||
from files(sourceSets.main.output.classesDirs)
|
||||
from files(sourceSets.main.output.resourcesDir)
|
||||
from {configurations.compile.collect {zipTree(it)}}
|
||||
from {configurations.compile.collect{ it.isDirectory() ? it : zipTree(it) }}
|
||||
from files(project.assetsDir)
|
||||
|
||||
archiveFileName = "${appName}.jar"
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=c67c4f5e41e941f74cf184d67b486545fb2dfb46
|
||||
archash=b9e67c0962f933315770d978c8a82b6fe6ec33a1
|
||||
|
Reference in New Issue
Block a user