Feat: use chunk for renderer
This commit is contained in:
@@ -57,7 +57,7 @@ import lombok.Data;
|
||||
private String logDirectory;
|
||||
private File workingDirectory;
|
||||
private File sharedDownloadsDirectory;
|
||||
private File woolCacheDirectory; // store all the chunks (and binary for now)
|
||||
private File woolCacheDirectory; // store all the chunks (project and blender)
|
||||
private boolean userHasSpecifiedACacheDir;
|
||||
private String login;
|
||||
private String password;
|
||||
@@ -273,7 +273,7 @@ import lombok.Data;
|
||||
try {
|
||||
String extension = file.getName().substring(file.getName().lastIndexOf('.')).toLowerCase();
|
||||
String name = file.getName().substring(0, file.getName().length() - 1 * extension.length());
|
||||
if (".zip".equals(extension) || ".wool".equals(extension)) {
|
||||
if (".wool".equals(extension)) {
|
||||
// check if the md5 of the file is ok
|
||||
String md5_local = Utils.md5(file.getAbsolutePath());
|
||||
|
||||
@@ -339,7 +339,7 @@ import lombok.Data;
|
||||
try {
|
||||
String extension = file.getName().substring(file.getName().lastIndexOf('.')).toLowerCase();
|
||||
String name = file.getName().substring(0, file.getName().length() - 1 * extension.length());
|
||||
if (".zip".equals(extension) || ".wool".equals(extension)) {
|
||||
if (".wool".equals(extension)) {
|
||||
// check if the md5 of the file is ok
|
||||
String md5_local = Utils.md5(file.getAbsolutePath());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user