diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-16 10:49:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-16 10:49:03 +0400 |
commit | 8a95fccbba997e548a748b70fb9503f7ea96eb4d (patch) | |
tree | 60c442c450f9b39f99ca02df06f9ed9a9dc821f8 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 2a417a597d524f24570d0b210edfe3925e81bf8a (diff) |
fix [#36153] Crash when choosing a brush.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 1060999e13f..13f97c50dc7 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -56,7 +56,9 @@ struct MultiresModifierData *sculpt_multires_active(struct Scene *scene, struct int sculpt_mode_poll(struct bContext *C); int sculpt_mode_poll_view3d(struct bContext *C); +/* checks for a brush, not just sculpt mode */ int sculpt_poll(struct bContext *C); +int sculpt_poll_view3d(struct bContext *C); void sculpt_update_mesh_elements(struct Scene *scene, struct Sculpt *sd, struct Object *ob, int need_pmap, int need_mask); |