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-08 22:37:35 +0300
committerWilliam Reynish <billrey@me.com>2020-01-08 22:37:35 +0300
commitc3b406a7c331e68978eacac543f3be564f7601ac (patch)
tree36a58dc19dedbac260f714af3a865088b5808cb1 /intern
parente72ecaa371579b2068491871f068e813d0696233 (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.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 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());