Resize baBehav on load (#4828)

This commit is contained in:
Flössie
2018-12-15 15:12:52 +01:00
parent f6a7e43ba0
commit 1ebbe0a096
2 changed files with 14 additions and 13 deletions

View File

@@ -126,7 +126,7 @@ void BatchToolPanelCoordinator::initSession ()
pparams = selected[0]->getProcParams ();
coarse->initBatchBehavior ();
int w,h;
selected[0]->getOriginalSize(w,h);
crop->setDimensions (w, h);
@@ -707,11 +707,11 @@ void BatchToolPanelCoordinator::spotWBselected (int x, int y, Thumbnail* thm)
double otemp = initialPP[i].wb.temperature;
double ogreen = initialPP[i].wb.green;
if (options.baBehav[12]) {
if (options.baBehav[ADDSET_ROTATE_DEGREE]) {
temp = temp - otemp;
}
if (options.baBehav[13]) {
if (options.baBehav[ADDSET_DIST_AMOUNT]) {
green = green - ogreen;
}