Fix T56861: freestyle + BI + full sample AA not working correct.

This commit is contained in:
Shinsuke Irie 2018-09-24 18:08:24 +02:00 committed by Brecht Van Lommel
parent 0cff044d84
commit 50731ff596
Notes: blender-bot 2023-02-14 09:08:34 +01:00
Referenced by issue #56861, Blender Internal: Freestyle lines become unintentionally translucent when using full sample AA
Referenced by issue #44662, Freestyle gives no visual output when the Save Buffers option is enabled
1 changed files with 7 additions and 0 deletions

View File

@ -2454,6 +2454,13 @@ static void do_merge_fullsample(Render *re, bNodeTree *ntree)
BLI_rw_mutex_unlock(&re->resultmutex);
render_result_uncrop(re1);
}
#ifdef WITH_FREESTYLE
else if (re1->r.mode & R_EDGE_FRS) {
BLI_rw_mutex_lock(&re->resultmutex, THREAD_LOCK_WRITE);
composite_freestyle_renders(re1, 0);
BLI_rw_mutex_unlock(&re->resultmutex);
}
#endif
ntreeCompositTagRender(re1->scene); /* ensure node gets exec to put buffers on stack */
}
}