From 4f921d9c8e8807f1e5234315a0db11a9a097c3b7 Mon Sep 17 00:00:00 2001
From: Stephane Dallongeville <stephane@outlook.com>
Date: Thu, 2 Jul 2020 18:27:33 +0200
Subject: [PATCH] Minor fix for default values

---
 .../loop/SequenceFileImporterTileBatch.java               | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/plugins/tprovoost/sequenceblocks/loop/SequenceFileImporterTileBatch.java b/src/plugins/tprovoost/sequenceblocks/loop/SequenceFileImporterTileBatch.java
index fa0d9a6..57d3af7 100644
--- a/src/plugins/tprovoost/sequenceblocks/loop/SequenceFileImporterTileBatch.java
+++ b/src/plugins/tprovoost/sequenceblocks/loop/SequenceFileImporterTileBatch.java
@@ -93,9 +93,9 @@ public class SequenceFileImporterTileBatch extends SequenceFileImporterBatch
         
         // lazy creation
         if (tileW == null)
-            tileW = new VarInteger("Tile width (-1 = auto)", 0);
+            tileW = new VarInteger("Tile width (-1 = auto)", -1);
         if (tileH == null)
-            tileH = new VarInteger("Tile height (-1 = auto)", 0);
+            tileH = new VarInteger("Tile height (-1 = auto)", -1);
 
         inputMap.add("tileWidht", tileW);
         inputMap.add("tileHeight", tileH);
@@ -109,9 +109,9 @@ public class SequenceFileImporterTileBatch extends SequenceFileImporterBatch
 
         // lazy creation
         if (tileW == null)
-            tileW = new VarInteger("Tile width (-1 = auto)", 0);
+            tileW = new VarInteger("Tile width (-1 = auto)", -1);
         if (tileH == null)
-            tileH = new VarInteger("Tile height (-1 = auto)", 0);
+            tileH = new VarInteger("Tile height (-1 = auto)", -1);
 
         loopVariables.add(tileW);
         loopVariables.add(tileH);
-- 
GitLab