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
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-05-19 06:17:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-19 06:18:10 +0300
commit1afa97d5479dbb5cea8a85c85ad1f1250c80ddf0 (patch)
tree1c5f4fae5605bc9be3aa7fb2abe4c87ffdd5648e
parentff7a30d92884e6333f455d2ea209cc2f60b53424 (diff)
Fix T76859: Cannot switch from editmode to texturepaint mode
Caused by 5159b8e1eadb.
-rw-r--r--source/blender/editors/sculpt_paint/paint_image.c3
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;
}