197 } |
197 } |
198 |
198 |
199 // ============================================================================= |
199 // ============================================================================= |
200 // ----------------------------------------------------------------------------- |
200 // ----------------------------------------------------------------------------- |
201 File* openLDrawFile (str relpath, bool subdirs) |
201 File* openLDrawFile (str relpath, bool subdirs) |
202 { log ("%1: Try to open %2\n", __func__, relpath); |
202 { log ("Opening %1...\n", relpath); |
203 File* f = new File; |
203 File* f = new File; |
204 str fullPath; |
204 str fullPath; |
205 |
205 |
206 // LDraw models use Windows-style path separators. If we're not on Windows, |
206 // LDraw models use Windows-style path separators. If we're not on Windows, |
207 // replace the path separator now before opening any files. |
207 // replace the path separator now before opening any files. |