From 43a7de786200b025da6accf2c0bd5ed4573aae59 Mon Sep 17 00:00:00 2001
From: andy <a.heather@opencfd.co.uk>
Date: Wed, 14 May 2008 09:47:01 +0100
Subject: [PATCH] restoring default behaviour of mapFields re: time

---
 applications/utilities/preProcessing/mapFields/setTimeIndex.H | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/utilities/preProcessing/mapFields/setTimeIndex.H b/applications/utilities/preProcessing/mapFields/setTimeIndex.H
index 3a36340aaf6..20e5cde3b1c 100644
--- a/applications/utilities/preProcessing/mapFields/setTimeIndex.H
+++ b/applications/utilities/preProcessing/mapFields/setTimeIndex.H
@@ -1,4 +1,4 @@
-    label sourceTimeIndex = 0;
+    label sourceTimeIndex = runTimeSource.timeIndex();
     instantList sourceTimes = runTimeSource.times();
     if (args.options().found("sourceTime"))
     {
-- 
GitLab