Fix T76859: Cannot switch from editmode to texturepaint mode
Caused by 5159b8e1ea.
This commit is contained in:
committed by
Campbell Barton
parent
ff7a30d928
commit
1afa97d547
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user