444 prompt()->checkIfFinished(); |
444 prompt()->checkIfFinished(); |
445 return; |
445 return; |
446 } |
446 } |
447 |
447 |
448 // Try to load this file now. |
448 // Try to load this file now. |
449 LDDocument* f = openDocument (filePath(), false); |
449 LDDocument* f = openDocument (filePath(), false, not isPrimary()); |
450 |
450 |
451 if (f == null) |
451 if (f == null) |
452 return; |
452 return; |
453 |
|
454 f->setImplicit (not isPrimary()); |
|
455 |
453 |
456 // Iterate through this file and check for errors. If there's any that stems |
454 // Iterate through this file and check for errors. If there's any that stems |
457 // from unknown file references, try resolve that by downloading the reference. |
455 // from unknown file references, try resolve that by downloading the reference. |
458 // This is why downloading a part may end up downloading multiple files, as |
456 // This is why downloading a part may end up downloading multiple files, as |
459 // it resolves dependencies. |
457 // it resolves dependencies. |