We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0561ef2 commit 24c64dcCopy full SHA for 24c64dc
1 file changed
src/mbeditviz/mbeditviz_prog.c
@@ -442,6 +442,7 @@ int mbeditviz_import_file(char *path, int format) {
442
struct mbev_file_struct *file = &(mbev_files[mbev_num_files]);
443
file->load_status = false;
444
file->load_status_shown = false;
445
+ file->processed_info_loaded = false;
446
file->locked = false;
447
file->esf_exists = false;
448
strcpy(file->path, path);
@@ -487,6 +488,7 @@ int mbeditviz_import_file(char *path, int format) {
487
488
/* load processed file info */
489
if (mbev_status == MB_SUCCESS) {
490
struct stat file_status;
491
+ // Look for existing process output file
492
const int fstatus = stat(file->process.mbp_ofile, &file_status);
493
if (fstatus == 0 && (file_status.st_mode & S_IFMT) != S_IFDIR) {
494
mbev_status =
0 commit comments