diff options
author | William Reynish <billrey@me.com> | 2020-01-08 22:37:35 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2020-01-08 22:37:35 +0300 |
commit | c3b406a7c331e68978eacac543f3be564f7601ac (patch) | |
tree | 36a58dc19dedbac260f714af3a865088b5808cb1 /intern | |
parent | e72ecaa371579b2068491871f068e813d0696233 (diff) |
Revert recent change to the particles RNA, and only affect the UI.
Even though the name change is more correct, we don't want to change the API at this time.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index a9422c67e8b..4dba8ffbe0e 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_diameter()); - CData->psys_tipradius.push_back_slow(radius * b_part.tip_diameter()); + CData->psys_rootradius.push_back_slow(radius * b_part.root_radius()); + CData->psys_tipradius.push_back_slow(radius * b_part.tip_radius()); CData->psys_shape.push_back_slow(b_part.shape()); CData->psys_closetip.push_back_slow(b_part.use_close_tip()); |