-struct mesh *find_mesh_prefix(struct scenefile *scn, const char *prefix)
-{
- int len = strlen(prefix);
- struct mesh *m = scn->meshlist;
- while(m) {
- if(m->name && memcmp(m->name, prefix, len) == 0) {
- return m;
- }
- m = m->next;
- }
- return 0;
-}
-