Cleanup: comment blocks
[blender.git] / source / blender / render / intern / source / sss.c
index 553710b436701cd4939b8a91b27cce928a16875b..26ca3ad50e094c62fc12907b37b77086a57fba3a 100644 (file)
@@ -279,13 +279,19 @@ static void build_Rd_table(ScatterSettings *ss)
 
        for (i= 0; i < size; i++) {
                r= i*(RD_TABLE_RANGE/RD_TABLE_SIZE);
-               /*if (r < ss->invsigma_t_*ss->invsigma_t_)
-                       r= ss->invsigma_t_*ss->invsigma_t_;*/
+#if 0
+               if (r < ss->invsigma_t_*ss->invsigma_t_) {
+                       r= ss->invsigma_t_*ss->invsigma_t_;
+               }
+#endif
                ss->tableRd[i]= Rd(ss, sqrtf(r));
 
                r= i*(RD_TABLE_RANGE_2/RD_TABLE_SIZE);
-               /*if (r < ss->invsigma_t_)
-                       r= ss->invsigma_t_;*/
+#if 0
+               if (r < ss->invsigma_t_) {
+                       r= ss->invsigma_t_;
+               }
+#endif
                ss->tableRd2[i]= Rd(ss, r);
        }
 }