Fix T44329: Second part: prevent 'cachebuffer' and 'fullOSA' in preview renders.
This commit is contained in:
parent
711a5c79d8
commit
085fa2e3d7
Notes:
blender-bot
2023-02-14 10:21:11 +01:00
Referenced by issue #44329, Blender Crash
|
@ -1230,10 +1230,10 @@ static void render_view3d_startjob(void *customdata, short *stop, short *do_upda
|
|||
if ((update_flag & (PR_UPDATE_RENDERSIZE | PR_UPDATE_DATABASE)) || rstats->convertdone == 0) {
|
||||
RenderData rdata;
|
||||
|
||||
/* no osa, blur, seq, layers, etc for preview render */
|
||||
/* no osa, blur, seq, layers, savebuffer etc for preview render */
|
||||
rdata = rp->scene->r;
|
||||
rdata.mode &= ~(R_OSA | R_MBLUR | R_BORDER | R_PANORAMA);
|
||||
rdata.scemode &= ~(R_DOSEQ | R_DOCOMP | R_FREE_IMAGE);
|
||||
rdata.scemode &= ~(R_DOSEQ | R_DOCOMP | R_FREE_IMAGE | R_EXR_TILE_FILE | R_FULL_SAMPLE);
|
||||
rdata.scemode |= R_VIEWPORT_PREVIEW;
|
||||
|
||||
/* we do use layers, but only active */
|
||||
|
|
Loading…
Reference in New Issue