Fix crash when using sculpt dynamic smooth

This commit is contained in:
Dalai Felinto 2017-06-09 17:32:35 +02:00
parent 2bb004e03d
commit dadb99074c
1 changed files with 2 additions and 1 deletions

View File

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