no remove double property lookups in ED_fileselect_set_params and redundant NULL check in file_main_area_draw.
This commit is contained in:
@@ -328,7 +328,7 @@ static void file_main_area_draw(const bContext *C, ARegion *ar)
|
||||
|
||||
/* Allow dynamically sliders to be set, saves notifiers etc. */
|
||||
|
||||
if (params && (params->display == FILE_IMGDISPLAY)) {
|
||||
if (params->display == FILE_IMGDISPLAY) {
|
||||
v2d->scroll = V2D_SCROLL_RIGHT;
|
||||
v2d->keepofs &= ~V2D_LOCKOFS_Y;
|
||||
v2d->keepofs |= V2D_LOCKOFS_X;
|
||||
|
Reference in New Issue
Block a user