[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59422] trunk/blender/intern/cycles/ blender/blender_curves.cpp: Fix clang compile warning.
Brecht Van Lommel
brechtvanlommel at pandora.be
Fri Aug 23 16:08:39 CEST 2013
Revision: 59422
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59422
Author: blendix
Date: 2013-08-23 14:08:39 +0000 (Fri, 23 Aug 2013)
Log Message:
-----------
Fix clang compile warning.
Modified Paths:
--------------
trunk/blender/intern/cycles/blender/blender_curves.cpp
Modified: trunk/blender/intern/cycles/blender/blender_curves.cpp
===================================================================
--- trunk/blender/intern/cycles/blender/blender_curves.cpp 2013-08-23 14:07:22 UTC (rev 59421)
+++ trunk/blender/intern/cycles/blender/blender_curves.cpp 2013-08-23 14:08:39 UTC (rev 59422)
@@ -425,7 +425,7 @@
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))
More information about the Bf-blender-cvs
mailing list