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:
parent
6cb20d6287
commit
24615ecab5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue