*dptr++ = *sptr == '\\' ? '/' : *sptr;
} while(*sptr++);
+ if(!fname || !*fname) continue;
+
int textype = assimp_textype(aitype);
Texture *tex = texman.get_texture(fname, TEX_2D, &scn->datamap);
bool SceneSet::load_scene(Scene *scn, const char *fname)
{
+ scn->clear();
return scn->load(fname, SCNLOAD_FLIPTEX | SCNLOAD_STAGE_IO);
}