Fix T76859: Cannot switch from editmode to texturepaint mode
Caused by 5159b8e1ea
.
This commit is contained in:
parent
ff7a30d928
commit
1afa97d547
Notes:
blender-bot
2023-02-14 10:11:54 +01:00
Referenced by issue #76859, Cannot switch from editmode to texturepaint mode
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue