Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_image/image_edit.c
| Context not available. | |||||
| return (sima->mode == SI_MODE_PAINT); | return (sima->mode == SI_MODE_PAINT); | ||||
| } | } | ||||
| bool ED_space_image_show_nurbsuv(SpaceImage *sima, Object *obedit) | |||||
| { | |||||
| if (sima && (ED_space_image_show_render(sima) || ED_space_image_show_paint(sima))) | |||||
| return 0; | |||||
| if (obedit && obedit->type == OB_SURF) | |||||
| return 1; | |||||
| return 0; | |||||
| } | |||||
| bool ED_space_image_show_uvedit(SpaceImage *sima, Object *obedit) | bool ED_space_image_show_uvedit(SpaceImage *sima, Object *obedit) | ||||
| { | { | ||||
| if (sima) { | if (sima) { | ||||
| Context not available. | |||||
| return ret; | return ret; | ||||
| } | } | ||||
| // if (obedit && obedit->type == OB_CURVE) { | |||||
| // } | |||||
| return false; | return false; | ||||
| } | } | ||||
| Context not available. | |||||