Cleanup: rename do_sky argument to draw_background

This was leftover from Blender internal, follow the naming
already used by the draw manager.
This commit is contained in:
Campbell Barton 2020-11-20 12:10:50 +11:00
parent 219c3aa653
commit f166fa67b7
2 changed files with 6 additions and 6 deletions

View File

@ -51,7 +51,7 @@ void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph,
const float viewmat[4][4],
const float winmat[4][4],
bool is_image_render,
bool do_sky,
bool draw_background,
const char *viewname,
const bool do_color_management,
struct GPUOffScreen *ofs,
@ -68,7 +68,7 @@ void ED_view3d_draw_offscreen_simple(struct Depsgraph *depsgraph,
float clip_start,
float clip_end,
bool is_image_render,
bool do_sky,
bool draw_background,
const char *viewname,
const bool do_color_management,
struct GPUOffScreen *ofs,

View File

@ -1666,7 +1666,7 @@ void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
const float viewmat[4][4],
const float winmat[4][4],
bool is_image_render,
bool do_sky,
bool draw_background,
const char *viewname,
const bool do_color_management,
GPUOffScreen *ofs,
@ -1724,7 +1724,7 @@ void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
region,
v3d,
is_image_render,
do_sky,
draw_background,
do_color_management,
ofs,
viewport);
@ -1759,7 +1759,7 @@ void ED_view3d_draw_offscreen_simple(Depsgraph *depsgraph,
float clip_start,
float clip_end,
bool is_image_render,
bool do_sky,
bool draw_background,
const char *viewname,
const bool do_color_management,
GPUOffScreen *ofs,
@ -1822,7 +1822,7 @@ void ED_view3d_draw_offscreen_simple(Depsgraph *depsgraph,
viewmat,
winmat,
is_image_render,
do_sky,
draw_background,
viewname,
do_color_management,
ofs,