From a52d3149b10e8844f82f45617c57cf9d349a5ca5 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Thu, 24 Nov 2016 11:59:50 +0100 Subject: [PATCH] Added an enum for opening success (E_NOERROR) common to all the imported --- wrap/io_trimesh/import.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrap/io_trimesh/import.h b/wrap/io_trimesh/import.h index 39ef6555..96d161bb 100644 --- a/wrap/io_trimesh/import.h +++ b/wrap/io_trimesh/import.h @@ -93,6 +93,9 @@ return lastType; } public: +enum ImporterError { + E_NOERROR =0 // No error =0 is the standard for ALL the imported files. +}; // simple aux function that returns true if a given file has a given extesnion static bool FileExtension(std::string filename, std::string extension) {