Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-20 04:10:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-20 04:14:50 +0300
commitf166fa67b75fa58a7013c7ee48ca19f5eedfbcf0 (patch)
treeda6a8fd7fbad94957204f7053184decccc229b1b /source/blender/editors/space_view3d
parent219c3aa6535c72594ce7e641b65abc5a47a5badf (diff)
Cleanup: rename do_sky argument to draw_background
This was leftover from Blender internal, follow the naming already used by the draw manager.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 56c127e986f..454cb50eeaf 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -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,