Fix crash when using sculpt dynamic smooth
This commit is contained in:
parent
2bb004e03d
commit
dadb99074c
|
@ -259,8 +259,9 @@ static int rna_Brush_mode_poll(PointerRNA *ptr, PointerRNA value)
|
|||
return brush->ob_mode & mode;
|
||||
}
|
||||
|
||||
static void rna_Sculpt_update(bContext *C, Scene *scene, PointerRNA *UNUSED(ptr))
|
||||
static void rna_Sculpt_update(bContext *C, PointerRNA *UNUSED(ptr))
|
||||
{
|
||||
Scene *scene = CTX_data_scene(C);
|
||||
SceneLayer *sl = CTX_data_scene_layer(C);
|
||||
Object *ob = OBACT_NEW;
|
||||
|
||||
|
|
Loading…
Reference in New Issue