Fix T38578: blender internal texture nodes + volume render error.

This commit is contained in:
Brecht Van Lommel 2014-02-11 16:09:53 +01:00
parent d2b15b0a8c
commit 5af3b02f72
Notes: blender-bot 2023-02-14 11:13:16 +01:00
Referenced by issue #38578, Node-based textures produce artifacts in BI volumetrics
1 changed files with 1 additions and 1 deletions

View File

@ -2756,7 +2756,7 @@ void do_volume_tex(ShadeInput *shi, const float *xyz, int mapto_flag, float col_
else texvec[2]= mtex->size[2]*(mtex->ofs[2]);
}
rgbnor = multitex(tex, texvec, NULL, NULL, 0, &texres, 0, mtex->which_output, re->pool); /* NULL = dxt/dyt, 0 = shi->osatex - not supported */
rgbnor = multitex(tex, texvec, NULL, NULL, 0, &texres, shi->thread, mtex->which_output, re->pool); /* NULL = dxt/dyt, 0 = shi->osatex - not supported */
/* texture output */