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>2014-06-06 01:54:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-06 01:54:05 +0400
commitae4ed68dfef8a97056b41393915ca853804dd8fe (patch)
tree7f539c65cca46c00629900f559d11dd826ee8a92 /source/blender/editors/render
parent98bf3959b484216000c48d12666ce6120ca15f99 (diff)
Code cleanup: style
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r--source/blender/editors/render/render_shading.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c
index 79ab300fa7f..b91bc793f85 100644
--- a/source/blender/editors/render/render_shading.c
+++ b/source/blender/editors/render/render_shading.c
@@ -450,7 +450,8 @@ static int new_texture_exec(bContext *C, wmOperator *UNUSED(op))
tex->id.us--;
if (ptr.id.data && GS(((ID *)ptr.id.data)->name) == ID_MA &&
- RNA_property_pointer_get(&ptr, prop).id.data == NULL) {
+ RNA_property_pointer_get(&ptr, prop).id.data == NULL)
+ {
/* In case we are assigning new texture to a material, and active slot was empty, reset 'use' flag. */
Material *ma = (Material *)ptr.id.data;
ma->septex &= ~(1 << ma->texact);