Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt_uv.c
| Context not available. | |||||
| em = BKE_editmesh_from_object(obedit); | em = BKE_editmesh_from_object(obedit); | ||||
| ret = EDBM_mtexpoly_check(em); | ret = EDBM_mtexpoly_check(em); | ||||
| if (ret && check_region) { | if (ret) { | ||||
| ARegion *ar = CTX_wm_region(C); | ARegion *ar = CTX_wm_region(C); | ||||
| if (!((toolsettings->use_uv_sculpt) && (ar->regiontype == RGN_TYPE_WINDOW))) { | if ((check_region && (ar->regiontype != RGN_TYPE_WINDOW)) || (!toolsettings->use_uv_sculpt)) { | ||||
| ret = 0; | ret = 0; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||