From 3c30467cda84ef19d90a3fb9748a24b8ab8e5f11 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 20 Sep 2015 22:51:10 +0200 Subject: Fix T46144: blender internal face texture color wrong in raytraced reflection. --- source/blender/render/intern/source/rayshade.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/render/intern/source/rayshade.c b/source/blender/render/intern/source/rayshade.c index 70a8fdf3ba3..900312ee984 100644 --- a/source/blender/render/intern/source/rayshade.c +++ b/source/blender/render/intern/source/rayshade.c @@ -736,6 +736,7 @@ static void traceray(ShadeInput *origshi, ShadeResult *origshr, short depth, con //shi.sample= 0; // memset above, so don't need this shi.xs= origshi->xs; shi.ys= origshi->ys; + shi.do_manage= origshi->do_manage; shi.lay= origshi->lay; shi.passflag= SCE_PASS_COMBINED; /* result of tracing needs no pass info */ shi.combinedflag= 0xFFFFFF; /* ray trace does all options */ @@ -1622,6 +1623,7 @@ static void ray_trace_shadow_tra(Isect *is, ShadeInput *origshi, int depth, int shi.xs= origshi->xs; shi.ys= origshi->ys; + shi.do_manage= origshi->do_manage; shi.lay= origshi->lay; shi.nodes= origshi->nodes; -- cgit v1.2.3