mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
revert r53570, alpha background is useful for projection paint 'Quick Edit',
it would also give odd results drawing semi transparent faces will give partial alpha which is strange to have with solid backdrop.
This commit is contained in:
parent
9106b3b107
commit
bb74409031
1 changed files with 2 additions and 3 deletions
|
|
@ -2596,11 +2596,10 @@ void ED_view3d_draw_offscreen(Scene *scene, View3D *v3d, ARegion *ar,
|
|||
linearrgb_to_srgb_v3_v3(backcol, &scene->world->horr);
|
||||
}
|
||||
|
||||
glClearColor(backcol[0], backcol[1], backcol[2], 1.0f);
|
||||
glClearColor(backcol[0], backcol[1], backcol[2], 0.0f);
|
||||
}
|
||||
else {
|
||||
UI_GetThemeColor3fv(TH_BACK, backcol);
|
||||
glClearColor(backcol[0], backcol[1], backcol[2], 1.0f);
|
||||
UI_ThemeClearColor(TH_BACK);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue