Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-01-26 14:50:55 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-26 14:50:55 +0300
commit8126b0222d11e68b62f1d3d975ec6396b7e87af2 (patch)
tree125442ce2af8d610665f7412b34d57879e97b94c /intern/cycles/blender/blender_texture.h
parent0095c2dad2e66a2906fd60c417c845b35a645cf7 (diff)
Fix T47214: Keyed Particles don't render correctly when used for point density input
The issue was caused by different AABB used by Cycles and texture sampler. Instead of trying to keep this two functions in sync we now do have an utility call in the point density node to query the AABB.
Diffstat (limited to 'intern/cycles/blender/blender_texture.h')
-rw-r--r--intern/cycles/blender/blender_texture.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_texture.h b/intern/cycles/blender/blender_texture.h
index 74fbca02a9e..017b78b67e3 100644
--- a/intern/cycles/blender/blender_texture.h
+++ b/intern/cycles/blender/blender_texture.h
@@ -22,7 +22,9 @@
CCL_NAMESPACE_BEGIN
-void point_density_texture_space(BL::ShaderNodeTexPointDensity b_point_density_node,
+void point_density_texture_space(BL::Scene b_scene,
+ BL::ShaderNodeTexPointDensity b_point_density_node,
+ const int settings,
float3& loc,
float3& size);