Fix crash on rna show diffuse color update

(untested because texture painting is not working)
This commit is contained in:
Dalai Felinto 2017-05-29 11:15:02 +02:00
parent 05f9155902
commit 4e39b31671
1 changed files with 1 additions and 1 deletions

View File

@ -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;