131 break; |
131 break; |
132 |
132 |
133 if (lastpos < (log) path.len () - 1) |
133 if (lastpos < (log) path.len () - 1) |
134 return path.substr (lastpos + 1, -1); |
134 return path.substr (lastpos + 1, -1); |
135 |
135 |
136 return ""; |
136 return path; |
137 } |
137 } |
138 |
138 |
139 // ============================================================================= |
139 // ============================================================================= |
140 FILE* openLDrawFile (str relpath, bool subdirs) { |
140 FILE* openLDrawFile (str relpath, bool subdirs) { |
141 printf ("%s: Try to open %s\n", __func__, relpath.c ()); |
141 printf ("%s: Try to open %s\n", __func__, relpath.c ()); |