diff options
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index ade906ce678..18ba149d7ed 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -298,7 +298,6 @@ static int buttons_context_path_particle(ButsContextPath *path) static int buttons_context_path_brush(const bContext *C, ButsContextPath *path) { Scene *scene; - ToolSettings *ts; Brush *br= NULL; PointerRNA *ptr= &path->ptr[path->len-1]; @@ -309,7 +308,6 @@ static int buttons_context_path_brush(const bContext *C, ButsContextPath *path) /* if we have a scene, use the toolsettings brushes */ else if(buttons_context_path_scene(path)) { scene= path->ptr[path->len-1].data; - ts= scene->toolsettings; if(scene) br= paint_brush(paint_get_active(scene)); |