Skip to content

Commit

Permalink
Added an enum for opening success (E_NOERROR) common to all the imported
Browse files Browse the repository at this point in the history
  • Loading branch information
cignoni committed Nov 24, 2016
1 parent aa8cf5f commit a52d314
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrap/io_trimesh/import.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a52d314

Please sign in to comment.