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:
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index ed51129dfc5..c8722005927 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -455,7 +455,7 @@ static void rna_ImaPaint_mode_update(bContext *C, PointerRNA *UNUSED(ptr))
if (ob && ob->type == OB_MESH) {
/* of course we need to invalidate here */
- BKE_texpaint_slots_refresh_object(scene, ob);
+ BKE_texpaint_slots_refresh_object(ob);
/* we assume that changing the current mode will invalidate the uv layers so we need to refresh display */
BKE_paint_proj_mesh_data_check(scene, ob, NULL, NULL, NULL, NULL);