[Bf-blender-cvs] [05f91559028] blender2.8: Fix crash when setting sculpt settings
Dalai Felinto
noreply at git.blender.org
Mon May 29 10:54:40 CEST 2017
Commit: 05f915590286ac647b24ff708444f21b8c6b52ab
Author: Dalai Felinto
Date: Mon May 29 10:54:36 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB05f915590286ac647b24ff708444f21b8c6b52ab
Fix crash when setting sculpt settings
===================================================================
M source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index 4659a3220b4..d885363b5dc 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -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;
More information about the Bf-blender-cvs
mailing list