Fix crash when setting sculpt settings
This commit is contained in:
parent
c0cf767460
commit
05f9155902
|
@ -258,7 +258,7 @@ static int rna_Brush_mode_poll(PointerRNA *ptr, PointerRNA value)
|
|||
return brush->ob_mode & mode;
|
||||
}
|
||||
|
||||
static void rna_Sculpt_update(Main *UNUSED(bmain), bContext *C, Scene *scene, PointerRNA *UNUSED(ptr))
|
||||
static void rna_Sculpt_update(bContext *C, Scene *scene, PointerRNA *UNUSED(ptr))
|
||||
{
|
||||
SceneLayer *sl = CTX_data_scene_layer(C);
|
||||
Object *ob = OBACT_NEW;
|
||||
|
|
Loading…
Reference in New Issue