diff --git a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C index 4834c1a81a..129445ef80 100644 --- a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C +++ b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C @@ -1152,7 +1152,12 @@ Foam::mappedPatchBase::mappedPatchBase samplePatch_(mpb.samplePatch_), offsetMode_(mpb.offsetMode_), offset_(mpb.offset_), - offsets_(mpb.offsets_, mapAddressing), + offsets_ + ( + offsetMode_ == NONUNIFORM + ? vectorField(mpb.offsets_, mapAddressing) + : vectorField(0) + ), distance_(mpb.distance_), sameRegion_(mpb.sameRegion_), mapPtr_(NULL),