2.5: Material buttons
[blender.git] / source / blender / render / intern / source / rendercore.c
index 3a3d6f57830910652b81f8d3d57550887332f466..b774bf6374da06bea9888a798ed1f9b777b76a7e 100644 (file)
@@ -477,7 +477,7 @@ static void add_filt_passes(RenderLayer *rl, int curmask, int rectx, int offset,
                                col= shr->refr;
                                break;
                        case SCE_PASS_RADIO:
-                               col= shr->rad;
+                               col= NULL; // removed shr->rad;
                                break;
                        case SCE_PASS_NORMAL:
                                col= shr->nor;
@@ -569,7 +569,7 @@ static void add_passes(RenderLayer *rl, int offset, ShadeInput *shi, ShadeResult
                                col= shr->refr;
                                break;
                        case SCE_PASS_RADIO:
-                               col= shr->rad;
+                               col= NULL; // removed shr->rad;
                                break;
                        case SCE_PASS_NORMAL:
                                col= shr->nor;