Commit 45a48070 authored by Henry Weller's avatar Henry Weller
Browse files

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
parent 5c11aa10
......@@ -1006,7 +1006,7 @@ int main(int argc, char *argv[])
// For the first region of a multi-region case additionally
// copy the "uniform" directory in the time directory
if (regionNames.size() > 1 && regioni == 0)
if (regioni == 0 && regionDir != word::null)
{
fileName uniformDir0
(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment