diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-05-19 06:17:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-19 06:18:10 +0300 |
commit | 1afa97d5479dbb5cea8a85c85ad1f1250c80ddf0 (patch) | |
tree | 1c5f4fae5605bc9be3aa7fb2abe4c87ffdd5648e /source/blender/editors/sculpt_paint/paint_image.c | |
parent | ff7a30d92884e6333f455d2ea209cc2f60b53424 (diff) |
Fix T76859: Cannot switch from editmode to texturepaint mode
Caused by 5159b8e1eadb.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index e227db1c644..fd5018f76ff 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -1130,9 +1130,6 @@ static bool texture_paint_toggle_poll(bContext *C) if (!ob->data || ID_IS_LINKED(ob->data)) { return 0; } - if (CTX_data_edit_object(C)) { - return 0; - } return 1; } |