Fix crash on rna show diffuse color update
(untested because texture painting is not working)
This commit is contained in:
parent
05f9155902
commit
4e39b31671
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue