From 80cef5f8f379b6fc70988f578e9501f35192aad2 Mon Sep 17 00:00:00 2001 From: Kenan Kajkus Date: Sun, 24 Jun 2018 03:38:28 +0200 Subject: [PATCH] hotfix issue #11 First image has no previous image. Now it checks for first image --- src/proRAW.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/proRAW.java b/src/proRAW.java index 0a688ff..5db737d 100644 --- a/src/proRAW.java +++ b/src/proRAW.java @@ -149,6 +149,7 @@ public void getImageData(Image image) { } // If it does not exist in file.. create white balance value else { + if(image.getListNum()<=1)return; int whiteBalance = getPrevImage(image).getWhiteBalance(); image.setWhiteBalance(whiteBalance);