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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-11-09 17:32:01 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-09 17:45:21 +0300
commit2466afd089ee370c7b6ccb288fc38fdcc6152805 (patch)
tree0aec2de6c9023f38ea055a16f63ac18b223e4bba /source/blender/makesrna/intern/rna_texture.c
parent859417c65796a48599eb073bcfe03f2382110f38 (diff)
Cleanup: Use full name for scene_layer in makesrna
Diffstat (limited to 'source/blender/makesrna/intern/rna_texture.c')
-rw-r--r--source/blender/makesrna/intern/rna_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c
index 040273925cb..06ffc2ee292 100644
--- a/source/blender/makesrna/intern/rna_texture.c
+++ b/source/blender/makesrna/intern/rna_texture.c
@@ -248,8 +248,8 @@ void rna_TextureSlot_update(bContext *C, PointerRNA *ptr)
{
Scene *scene = CTX_data_scene(C);
MTex *mtex = ptr->data;
- SceneLayer *sl = CTX_data_scene_layer(C);
- BKE_paint_invalidate_overlay_tex(scene, sl, mtex->tex);
+ SceneLayer *scene_layer = CTX_data_scene_layer(C);
+ BKE_paint_invalidate_overlay_tex(scene, scene_layer, mtex->tex);
WM_main_add_notifier(NC_BRUSH, id);
break;
}