diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-06 01:54:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-06 01:54:05 +0400 |
commit | ae4ed68dfef8a97056b41393915ca853804dd8fe (patch) | |
tree | 7f539c65cca46c00629900f559d11dd826ee8a92 /source/blender/editors/render | |
parent | 98bf3959b484216000c48d12666ce6120ca15f99 (diff) |
Code cleanup: style
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_shading.c | 3 |
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); |