|
@@ -1082,6 +1082,9 @@ public class RunBuild {
|
|
|
if (new File(filePath + fileId + "_preview.jpg").exists()) {
|
|
|
modelUploadEntity.setThumPath((filePath + fileId + "_preview.jpg").replace(buildPath, ""));
|
|
|
}
|
|
|
+ if (new File(filePath + fileId + "_bird.png").exists()) {
|
|
|
+ modelUploadEntity.setBirdPath((filePath + fileId + "birdPath.png").replace(buildPath, ""));
|
|
|
+ }
|
|
|
|
|
|
modelUploadEntity.setStatus(1);
|
|
|
modelUploadEntity.setProgress(100);
|
|
@@ -1352,7 +1355,6 @@ public class RunBuild {
|
|
|
componentModelUploadEntity.setThumStatus(1);
|
|
|
componentModelUploadEntity.setThumProgress(100);
|
|
|
componentModelUploadEntity.setThumPath(objPath.replace(buildPath, "").replace(".obj", "") + "_preview.jpg");
|
|
|
- componentModelUploadEntity.setBirdPath(objPath.replace(buildPath, "").replace(".obj", "") + "_bird.png");
|
|
|
componentModelUploadEntity.setMtlPath(objPath.replace(buildPath, "").replace(".obj", "") + ".mtl");
|
|
|
// componentModelUploadEntity.setImgPath(objPath.replace(buildPath, "").replace(".obj", "") + ".jpg");
|
|
|
componentModelUploadEntity.setObjPath(objPath.replace(buildPath, ""));
|