Subversion Repositories gelsvn

Rev

Rev 178 | Rev 421 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 178 Rev 364
Line 171... Line 171...
171
	{
171
	{
172
		pathname = get_path(filename);
172
		pathname = get_path(filename);
173
		FILE *fp = fopen(filename.data(), "r");
173
		FILE *fp = fopen(filename.data(), "r");
174
		if (fp==0) {
174
		if (fp==0) {
175
			cerr << "File " << filename << " does not exist" << endl;
175
			cerr << "File " << filename << " does not exist" << endl;
-
 
176
      exit(0);
176
		}
177
		}
177
		mesh->materials.resize(1);
178
		mesh->materials.resize(1);
178
		
179
		
179
		char buf[256];
180
		char buf[256];
180
		Vec3f v_geo;
181
		Vec3f v_geo;