[Bf-blender-cvs] [1afa97d5479] blender-v2.83-release: Fix T76859: Cannot switch from editmode to texturepaint mode
Philipp Oeser
noreply at git.blender.org
Tue May 19 05:21:34 CEST 2020
Commit: 1afa97d5479dbb5cea8a85c85ad1f1250c80ddf0
Author: Philipp Oeser
Date: Tue May 19 13:17:26 2020 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rB1afa97d5479dbb5cea8a85c85ad1f1250c80ddf0
Fix T76859: Cannot switch from editmode to texturepaint mode
Caused by 5159b8e1eadb.
===================================================================
M source/blender/editors/sculpt_paint/paint_image.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list