Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/uvedit/uvedit_intern.h
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | BMLoop *uv_find_nearest_loop_from_vert(struct Scene *scene, | ||||
| const float co[2]); | const float co[2]); | ||||
| BMLoop *uv_find_nearest_loop_from_edge(struct Scene *scene, | BMLoop *uv_find_nearest_loop_from_edge(struct Scene *scene, | ||||
| struct Object *obedit, | struct Object *obedit, | ||||
| struct BMEdge *e, | struct BMEdge *e, | ||||
| const float co[2]); | const float co[2]); | ||||
| bool uvedit_vert_is_edge_select_any_other(const struct Scene *scene, | bool uvedit_vert_is_edge_select_any_other(const struct Scene *scene, | ||||
| struct BMLoop *l, | struct BMLoop *l, | ||||
| const int cd_loop_uv_offset); | BMUVOffsets offsets); | ||||
campbellbarton: Pass by const pointer instead of value. | |||||
Done Inline ActionsI've marked this one as done since it's the same as above. I'll await your reply on the previous remark. Baardaap: I've marked this one as done since it's the same as above. I'll await your reply on the… | |||||
| bool uvedit_vert_is_face_select_any_other(const struct Scene *scene, | bool uvedit_vert_is_face_select_any_other(const struct Scene *scene, | ||||
| struct BMLoop *l, | struct BMLoop *l, | ||||
| const int cd_loop_uv_offset); | BMUVOffsets offsets); | ||||
| bool uvedit_vert_is_all_other_faces_selected(const struct Scene *scene, | bool uvedit_vert_is_all_other_faces_selected(const struct Scene *scene, | ||||
| struct BMLoop *l, | struct BMLoop *l, | ||||
| const int cd_loop_uv_offset); | BMUVOffsets offsets); | ||||
| /* utility tool functions */ | /* utility tool functions */ | ||||
| void uvedit_live_unwrap_update(struct SpaceImage *sima, | void uvedit_live_unwrap_update(struct SpaceImage *sima, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *obedit); | struct Object *obedit); | ||||
| /* operators */ | /* operators */ | ||||
| Show All 27 Lines | bool uvedit_select_is_any_selected_multi(const struct Scene *scene, | ||||
| struct Object **objects, | struct Object **objects, | ||||
| uint objects_len); | uint objects_len); | ||||
| /** | /** | ||||
| * \warning This returns first selected UV, | * \warning This returns first selected UV, | ||||
| * not ideal in many cases since there could be multiple. | * not ideal in many cases since there could be multiple. | ||||
| */ | */ | ||||
| const float *uvedit_first_selected_uv_from_vertex(struct Scene *scene, | const float *uvedit_first_selected_uv_from_vertex(struct Scene *scene, | ||||
| struct BMVert *eve, | struct BMVert *eve, | ||||
| int cd_loop_uv_offset); | BMUVOffsets offsets); | ||||
| void UV_OT_select_all(struct wmOperatorType *ot); | void UV_OT_select_all(struct wmOperatorType *ot); | ||||
| void UV_OT_select(struct wmOperatorType *ot); | void UV_OT_select(struct wmOperatorType *ot); | ||||
| void UV_OT_select_loop(struct wmOperatorType *ot); | void UV_OT_select_loop(struct wmOperatorType *ot); | ||||
| void UV_OT_select_edge_ring(struct wmOperatorType *ot); | void UV_OT_select_edge_ring(struct wmOperatorType *ot); | ||||
| void UV_OT_select_linked(struct wmOperatorType *ot); | void UV_OT_select_linked(struct wmOperatorType *ot); | ||||
| void UV_OT_select_linked_pick(struct wmOperatorType *ot); | void UV_OT_select_linked_pick(struct wmOperatorType *ot); | ||||
| void UV_OT_select_split(struct wmOperatorType *ot); | void UV_OT_select_split(struct wmOperatorType *ot); | ||||
| Show All 14 Lines | |||||
Pass by const pointer instead of value.