diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-23 18:08:39 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-23 18:08:39 +0400 |
commit | 805cca3903d3ef687163c5eca3602657b629eb14 (patch) | |
tree | 9861974316376685eab2f624744a1dc7a91a6ee8 /intern/cycles/blender | |
parent | a55857c653b498dc8a366873f5206e8fc1ce9c2d (diff) |
Fix clang compile warning.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index de41610bf7c..331f77eb4d6 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -425,7 +425,7 @@ void ExportCurveTrianglePlanes(Mesh *mesh, ParticleCurveData *CData, float3 RotC time = CData->curvekey_time[curvekey]/CData->curve_length[curve]; radius = shaperadius(CData->psys_shape[sys], CData->psys_rootradius[sys], CData->psys_tipradius[sys], time); - if((curvekey == CData->curve_firstkey[curve] + CData->curve_keynum[curve] - 1)) + if(curvekey == CData->curve_firstkey[curve] + CData->curve_keynum[curve] - 1) radius = shaperadius(CData->psys_shape[sys], CData->psys_rootradius[sys], CData->psys_tipradius[sys], 0.95f); if(CData->psys_closetip[sys] && (curvekey == CData->curve_firstkey[curve] + CData->curve_keynum[curve] - 1)) |