mirror of
https://github.com/eddyem/CCD_Capture.git
synced 2026-03-20 00:31:04 +03:00
fixed basler bug; still have bugs with on-the-fly size changing
This commit is contained in:
@@ -253,12 +253,14 @@ static int geometrylimits(frameformat *max, frameformat *step){
|
||||
int64_values i;
|
||||
if(!getInt("Width", &i)) return FALSE;
|
||||
max->w = i.max; step->w = i.incr;
|
||||
max->xoff = i.max; step->xoff = i.incr;
|
||||
if(!getInt("Height", &i)) return FALSE;
|
||||
max->h = i.max; step->h = i.incr;
|
||||
if(!getInt("OffsetX", &i)) return FALSE;
|
||||
max->xoff = i.max; step->xoff = i.incr;
|
||||
if(!getInt("OffsetY", &i)) return FALSE;
|
||||
max->yoff = i.max; step->yoff = i.incr;
|
||||
if(!getInt("OffsetX", &i)) return FALSE;
|
||||
max->w -= i.max;
|
||||
if(!getInt("OffsetY", &i)) return FALSE;
|
||||
max->h -= i.max;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user