reconstructPar: Handle the copy of the 'uniform' directory when only 1 region is reconstructed

Resolves bug-report http://bugs.openfoam.org/view.php?id=2186
This commit is contained in:
Henry Weller 2016-08-09 16:41:38 +01:00
parent 7dfa780c48
commit 3214725229

View file

@ -1006,7 +1006,7 @@ int main(int argc, char *argv[])
// For the first region of a multi-region case additionally // For the first region of a multi-region case additionally
// copy the "uniform" directory in the time directory // copy the "uniform" directory in the time directory
if (regionNames.size() > 1 && regioni == 0) if (regioni == 0 && regionDir != word::null)
{ {
fileName uniformDir0 fileName uniformDir0
( (