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>2010-11-20 10:51:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-20 10:51:39 +0300
commit78cd971bace2b0ead5e2f879a5d60924b2a42ff1 (patch)
tree8fe22c8c793e9f0f11039c65ea970b30eccd6950 /intern/smoke
parentde9bb343cf77ea50c7873c64b8d20c6afcb890dc (diff)
- smoke wasn't closing the file of loading a tile had the wrong length.
- missing break in operator context switch meant RGN_TYPE_CHANNELS was always being overwritten with RGN_TYPE_PREVIEW when calling operators (from r26692)
Diffstat (limited to 'intern/smoke')
-rw-r--r--intern/smoke/intern/WAVELET_NOISE.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/smoke/intern/WAVELET_NOISE.h b/intern/smoke/intern/WAVELET_NOISE.h
index 7056b1db5be..1c55acfb1ca 100644
--- a/intern/smoke/intern/WAVELET_NOISE.h
+++ b/intern/smoke/intern/WAVELET_NOISE.h
@@ -243,6 +243,7 @@ static bool loadTile(float* const noiseTileData, std::string filename)
|| (headerbuffer[headerlen-1] != (char)((char)sizeof(long)+'0')))
{
printf("loadTile : Noise tile '%s' was generated on an incompatible platform.\n",filename.c_str());
+ fclose(file);
return false;
}