[Bf-blender-cvs] [4e39b316718] blender2.8: Fix crash on rna show diffuse color update
Dalai Felinto
noreply at git.blender.org
Mon May 29 11:15:21 CEST 2017
Commit: 4e39b316718017b63e8370f2c0eb52a83c4d3292
Author: Dalai Felinto
Date: Mon May 29 11:15:02 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB4e39b316718017b63e8370f2c0eb52a83c4d3292
Fix crash on rna show diffuse color update
(untested because texture painting is not working)
===================================================================
M source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index d885363b5dc..418527b85f2 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -274,7 +274,7 @@ static void rna_Sculpt_update(bContext *C, Scene *scene, PointerRNA *UNUSED(ptr)
}
}
-static void rna_Sculpt_ShowDiffuseColor_update(Main *UNUSED(bmain), bContext *C, Scene *scene, PointerRNA *UNUSED(ptr))
+static void rna_Sculpt_ShowDiffuseColor_update(bContext *C, Scene *scene, PointerRNA *UNUSED(ptr))
{
SceneLayer *sl = CTX_data_scene_layer(C);
Object *ob = OBACT_NEW;
More information about the Bf-blender-cvs
mailing list