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
path: root/intern
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2020-01-06 23:54:56 +0300
committerWilliam Reynish <billrey@me.com>2020-01-06 23:54:56 +0300
commit3a35301fd16d9230932a148f0cf64ed6bef9e38b (patch)
tree8173cb0547da64fd1b41f1d526d8e7f5dc72d1e0 /intern
parent58e88d3816bb3c967e2c54c8e68fde724c68b372 (diff)
Fix T70821: Hair Radius Is Actually Hair Diameter
Renamed hair tip and root properties to be called diameter rather than radius. The old name was incorrect.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/blender_curves.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp
index 4dba8ffbe0e..a9422c67e8b 100644
--- a/intern/cycles/blender/blender_curves.cpp
+++ b/intern/cycles/blender/blender_curves.cpp
@@ -152,8 +152,8 @@ static bool ObtainCacheParticleData(
float radius = b_part.radius_scale() * 0.5f;
- CData->psys_rootradius.push_back_slow(radius * b_part.root_radius());
- CData->psys_tipradius.push_back_slow(radius * b_part.tip_radius());
+ CData->psys_rootradius.push_back_slow(radius * b_part.root_diameter());
+ CData->psys_tipradius.push_back_slow(radius * b_part.tip_diameter());
CData->psys_shape.push_back_slow(b_part.shape());
CData->psys_closetip.push_back_slow(b_part.use_close_tip());