Fix crash when using sculpt dynamic smooth
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user