|
@@ -16,6 +16,7 @@ import com.fdkankan.common.util.OBJToGLBUtil;
|
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
|
import com.fdkankan.model.constants.ConstantFilePath;
|
|
|
import com.fdkankan.model.constants.UploadFilePath;
|
|
|
+import com.fdkankan.model.utils.ComputerUtil;
|
|
|
import com.fdkankan.scene.bean.BoxModelBean;
|
|
|
import com.fdkankan.scene.entity.SceneEditInfo;
|
|
|
import com.fdkankan.scene.entity.ScenePlus;
|
|
@@ -103,7 +104,7 @@ public class BoxModelServiceImpl implements IBoxModelService {
|
|
|
//转glb
|
|
|
OBJToGLBUtil.objToGlb(srcPath, glbPath);
|
|
|
|
|
|
- if(!FileUtil.exist(glbPath)){
|
|
|
+ if(ComputerUtil.checkComputeCompleted(glbPath, 3, 2)){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_7013);
|
|
|
}
|
|
|
|