Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | |||||
| * Return true when in vertex/weight paint + vertex-select mode? | * Return true when in vertex/weight paint + vertex-select mode? | ||||
| */ | */ | ||||
| bool BKE_paint_select_vert_test(struct Object *ob); | bool BKE_paint_select_vert_test(struct Object *ob); | ||||
| /** | /** | ||||
| * used to check if selection is possible | * used to check if selection is possible | ||||
| * (when we don't care if its face or vert) | * (when we don't care if its face or vert) | ||||
| */ | */ | ||||
| bool BKE_paint_select_elem_test(struct Object *ob); | bool BKE_paint_select_elem_test(struct Object *ob); | ||||
| /** | |||||
| * Checks if face/vertex hiding is always applied in the current mode. | |||||
| * Returns true in vertex/weight paint. | |||||
| */ | |||||
| bool BKE_paint_always_hide_test(struct Object *ob); | |||||
| /* Partial visibility. */ | /* Partial visibility. */ | ||||
| /** | /** | ||||
| * Returns non-zero if any of the face's vertices are hidden, zero otherwise. | * Returns non-zero if any of the face's vertices are hidden, zero otherwise. | ||||
| */ | */ | ||||
| bool paint_is_face_hidden(const struct MLoopTri *lt, | bool paint_is_face_hidden(const struct MLoopTri *lt, | ||||
| const struct MVert *mvert, | const struct MVert *mvert, | ||||
| ▲ Show 20 Lines • Show All 559 Lines • Show Last 20 Lines | |||||