src/partDownloader.cc

changeset 717
fdc285e5952f
parent 662
2f1bd9112408
child 757
8ab9fa53142b
equal deleted inserted replaced
716:639a900999bc 717:fdc285e5952f
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.

mercurial