[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29576] branches/render25/source/blender/ render/intern/source/cache.c: Render Branch: remove "inline" accidentally left in for testing,
Brecht Van Lommel
brecht at blender.org
Sun Jun 20 17:24:37 CEST 2010
Revision: 29576
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29576
Author: blendix
Date: 2010-06-20 17:24:37 +0200 (Sun, 20 Jun 2010)
Log Message:
-----------
Render Branch: remove "inline" accidentally left in for testing,
and also remove and outdated comment.
Modified Paths:
--------------
branches/render25/source/blender/render/intern/source/cache.c
Modified: branches/render25/source/blender/render/intern/source/cache.c
===================================================================
--- branches/render25/source/blender/render/intern/source/cache.c 2010-06-20 14:10:16 UTC (rev 29575)
+++ branches/render25/source/blender/render/intern/source/cache.c 2010-06-20 15:24:37 UTC (rev 29576)
@@ -630,7 +630,7 @@
}
}
-static inline int irr_cache_node_point_inside(IrrCacheNode *node, float scale, float add, float P[3])
+static int irr_cache_node_point_inside(IrrCacheNode *node, float scale, float add, float P[3])
{
float side= node->side*scale + add;
@@ -894,9 +894,6 @@
int i, added= 0, totfound= 0, use_lsq, dimension;
Lsq4DFit *lsq= &cache->lsq;
- /* XXX check how often this is called! */
- /* XXX can identical samples end up in the cache now? */
-
/* a small value for discard-smoothing of irradiance */
discard_weight= (preprocess)? 0.1f: 0.0f;
More information about the Bf-blender-cvs
mailing list