From 9e4394a6567f6f27574a0ddad6904bdb7bc5f7ce Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 12 Jan 2020 22:33:48 +1100 Subject: [PATCH] corrected some error in Import/export 4rosy --- wrap/io_trimesh/export_field.h | 11 +++++------ wrap/io_trimesh/import_field.h | 19 ++++++++++++------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/wrap/io_trimesh/export_field.h b/wrap/io_trimesh/export_field.h index bcd97e9b..ea89f70b 100644 --- a/wrap/io_trimesh/export_field.h +++ b/wrap/io_trimesh/export_field.h @@ -94,15 +94,14 @@ public: const char *path) { FILE *f = fopen(path,"wt"); - fprintf(f,"%d\n",mesh.vn); + fprintf(f,"%d\n",mesh.fn); fprintf(f,"4\n"); - for (unsigned int i=0;i