forked from bartvdbraak/blender
Fix #31400: opengl offscreen render not respecting theme settings.
This commit is contained in:
parent
578864180b
commit
74367ae091
@ -2435,6 +2435,8 @@ void ED_view3d_draw_offscreen(Scene *scene, View3D *v3d, ARegion *ar,
|
||||
ar->winrct.xmax = winx;
|
||||
ar->winrct.ymax = winy;
|
||||
|
||||
/* set theme */
|
||||
UI_SetTheme(SPACE_VIEW3D, RGN_TYPE_WINDOW);
|
||||
|
||||
/* set flags */
|
||||
G.f |= G_RENDER_OGL;
|
||||
|
Loading…
Reference in New Issue
Block a user