Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-05-29 11:54:36 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-05-29 11:54:36 +0300
commit05f915590286ac647b24ff708444f21b8c6b52ab (patch)
treeb07837cb396b442989d6c662a2dc7621086de6b0 /source
parentc0cf767460b80410fb2723ef325e13956f3c9fb2 (diff)
Fix crash when setting sculpt settings
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c2
1 files changed, 1 insertions, 1 deletions
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;