Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-03 03:58:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-03 03:58:46 +0400
commit07919930300e6055c5452ec2b54150e70babd5fe (patch)
treecaac3f3b994c52d61a3492ef783c1d567fdd1a9a /source/blender/blenkernel/intern/texture.c
parent4e44b149275a3542a3ff7385455a95b7c2856346 (diff)
Minor Speedup: avoid for() loop over all faces in fluidsim by passing an example face to the mesh read function (also avoid a lot of int -> short/char conversions).
Diffstat (limited to 'source/blender/blenkernel/intern/texture.c')
-rw-r--r--source/blender/blenkernel/intern/texture.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index f854397ef05..4c40dca3365 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -500,8 +500,6 @@ void colorband_update_sort(ColorBand *coba)
CBData *colorband_element_add(struct ColorBand *coba, float position)
{
- int a;
-
if(coba->tot==MAXCOLORBAND) {
return NULL;
}