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:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2009-10-21 21:56:26 +0400
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2009-10-21 21:56:26 +0400
commit5fb73d8b81fbd1823a6c807714d6b3589e918a3b (patch)
tree4fc89128e6684313da52ad76e4b43b4bb0c62950 /source/blender/render
parenteab11543f3c411940744ab2f447a5c222d5a50dd (diff)
Make compiler happy, remove doubtful non init usage.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/volume_precache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/volume_precache.c b/source/blender/render/intern/source/volume_precache.c
index 62d7343036a..25645d9cce2 100644
--- a/source/blender/render/intern/source/volume_precache.c
+++ b/source/blender/render/intern/source/volume_precache.c
@@ -594,7 +594,7 @@ void vol_precache_objectinstance_threads(Render *re, ObjectInstanceRen *obi, Mat
ShadeInput shi;
ListBase threads;
float *bbmin=obi->obr->boundbox[0], *bbmax=obi->obr->boundbox[1];
- int parts[3], totparts;
+ int parts[3] = {1, 1, 1}, totparts;
int caching=1, counter=0;
int totthread = re->r.threads;