[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47299] branches/soc-2011-tomato/intern/ raskter/raskter.c: code and comment cleanup in feather region drawing code
Peter Larabell
xgl.asyliax at gmail.com
Thu May 31 22:58:46 CEST 2012
Revision: 47299
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47299
Author: xglasyliax
Date: 2012-05-31 20:58:46 +0000 (Thu, 31 May 2012)
Log Message:
-----------
code and comment cleanup in feather region drawing code
Modified Paths:
--------------
branches/soc-2011-tomato/intern/raskter/raskter.c
Modified: branches/soc-2011-tomato/intern/raskter/raskter.c
===================================================================
--- branches/soc-2011-tomato/intern/raskter/raskter.c 2012-05-31 20:50:08 UTC (rev 47298)
+++ branches/soc-2011-tomato/intern/raskter/raskter.c 2012-05-31 20:58:46 UTC (rev 47299)
@@ -597,14 +597,7 @@
//do feather check
// first check that pixel isn't already full, and only operate if it is not
if (*cpxl < 0.9999f) {
-/*
- * Begin modified code from double edge mask compo node...
- */
- //t = ((float)((cpxl - spxl) % ctx->rb.sizex) + 0.5f) * (1.0f / (float)(ctx->rb.sizex)); // calculate column of pixel
- //fsz = ((float)(y_curr) + 0.5) * (1.0f / (float)(ctx->rb.sizey)); // calculate row of pixel
-
-
dmin = 2.0f; // reset min distance to edge pixel
for (a = 0; a < num_feather_verts; a++) { // loop through all outer edge buffer pixels
dy = t - feather_verts_f[a][0]; // set dx to gradient pixel column - outer edge pixel row
@@ -645,9 +638,6 @@
/* set intensity, do the += so overlapping gradients are additive */
*cpxl = (idist / (idist + odist));
-/*
- * End modified code from double edge mask node
- */
}
}
}
More information about the Bf-blender-cvs
mailing list