forked from bartvdbraak/blender
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
@ -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…
Reference in New Issue
Block a user