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>2013-02-13 09:07:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-13 09:07:46 +0400
commit5d6f83b179826d142b049985323490adbba790d6 (patch)
tree44af556c77eb9ba6af771fa50bb4a1a1ee632ebb /source/blender/render
parent0ec23efbf27354a410ce162b6d3f2ba0fa5e86a7 (diff)
remove redundant if statement.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/imagetexture.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/imagetexture.c b/source/blender/render/intern/source/imagetexture.c
index 2827f90e4b6..12286fc9999 100644
--- a/source/blender/render/intern/source/imagetexture.c
+++ b/source/blender/render/intern/source/imagetexture.c
@@ -1043,8 +1043,9 @@ static void image_mipmap_test(Tex *tex, ImBuf *ibuf)
BLI_unlock_thread(LOCK_IMAGE);
}
/* if no mipmap could be made, fall back on non-mipmap render */
- if (ibuf->mipmap[0] == NULL)
- if (tex->imaflag &= ~TEX_MIPMAP);
+ if (ibuf->mipmap[0] == NULL) {
+ tex->imaflag &= ~TEX_MIPMAP;
+ }
}
}