Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2775 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Nov 10, 2004, 12:11:30 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: does not accept not existing files anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/importer/object.cc

    r2773 r2775  
    5555{
    5656  OBJ_FILE = new ifstream (fileName);
     57  if (!OBJ_FILE->is_open())
     58    {
     59      printf ("unable to open file: %s\n", fileName);
     60      return false;
     61    }
     62 
    5763  char Buffer[500];
    5864  vertices = new Array();
Note: See TracChangeset for help on using the changeset viewer.