From 3e9a09d385b1e070b9bf30864c0f5d974f80b80a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 23 Sep 2012 05:33:23 +0000 Subject: fix for some crashes running operators in background mode. --- source/blender/editors/sculpt_paint/sculpt_intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h') diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index f4467dc22fc..5e79616b0b0 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -56,6 +56,7 @@ struct MultiresModifierData *sculpt_multires_active(struct Scene *scene, struct void sculpt(struct Sculpt *sd); int sculpt_mode_poll(struct bContext *C); +int sculpt_mode_poll_view3d(struct bContext *C); int sculpt_poll(struct bContext *C); void sculpt_update_mesh_elements(struct Scene *scene, struct Sculpt *sd, struct Object *ob, int need_pmap); -- cgit v1.2.3