Blender Internal: Fix regression in point density texture

The issue was introduced by original Cycles point density support commit,
it lead to a constant density of 1 for object verticies point density source.
This commit is contained in:
Sergey Sharybin 2015-09-28 21:10:17 +05:00
parent 6cb20d6287
commit 24615ecab5
1 changed files with 3 additions and 0 deletions

View File

@ -597,6 +597,9 @@ int pointdensitytex(Tex *tex, const float texvec[3], TexResult *texres)
BRICONT;
if (pd->color_source == TEX_PD_COLOR_CONSTANT)
return retval;
retval |= pointdensity_color(pd, texres, age, vec);
BRICONTRGB;