[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43436] trunk/blender/source/blender/ blenkernel/intern/dynamicpaint.c: comment unused var

Campbell Barton ideasman42 at gmail.com
Tue Jan 17 03:07:48 CET 2012


Revision: 43436
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43436
Author:   campbellbarton
Date:     2012-01-17 02:07:38 +0000 (Tue, 17 Jan 2012)
Log Message:
-----------
comment unused var

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/dynamicpaint.c

Modified: trunk/blender/source/blender/blenkernel/intern/dynamicpaint.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/dynamicpaint.c	2012-01-17 00:45:51 UTC (rev 43435)
+++ trunk/blender/source/blender/blenkernel/intern/dynamicpaint.c	2012-01-17 02:07:38 UTC (rev 43436)
@@ -4190,7 +4190,7 @@
 			/*	Loop through neighbouring points	*/
 			for (i=0; i<numOfNeighs; i++) {
 				int n_index = sData->adj_data->n_index[index]+i;
-				float w_factor, p_alpha = pPoint->e_alpha;
+				float w_factor /* , p_alpha = pPoint->e_alpha */ /* UNUSED */;
 				PaintPoint *ePoint = &prevPoint[sData->adj_data->n_target[n_index]];
 				float speed_scale = (bNeighs[n_index].dist<eff_scale) ? 1.0f : eff_scale/bNeighs[n_index].dist;
 				float color_mix = (MIN3(ePoint->wetness, pPoint->wetness, 1.0f))*0.25f*surface->color_spread_speed;



More information about the Bf-blender-cvs mailing list