Fix T42408: FSAA affects Cycles Image Compositing

Use FSAA settings only if current render engine is BI or GE/

That's for until we'll support FSAA in Cycles or other render engines.
This commit is contained in:
Sergey Sharybin
2014-11-04 20:41:12 +05:00
parent 4a0ff5cb2d
commit 04c0a46570

View File

@@ -492,6 +492,12 @@ static int check_mode_full_sample(RenderData *rd)
{
int scemode = rd->scemode;
if (!STREQ(rd->engine, RE_engine_id_BLENDER_RENDER) &&
!STREQ(rd->engine, RE_engine_id_BLENDER_GAME))
{
scemode &= ~R_FULL_SAMPLE;
}
if ((rd->mode & R_OSA) == 0)
scemode &= ~R_FULL_SAMPLE;