Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_opdefines.c
| Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | static BMOpDefine bmo_recalc_face_normals_def = { | ||||
| }, | }, | ||||
| {{{'\0'}}}, /* no output */ | {{{'\0'}}}, /* no output */ | ||||
| bmo_recalc_face_normals_exec, | bmo_recalc_face_normals_exec, | ||||
| (BMO_OPTYPE_FLAG_UNTAN_MULTIRES | | (BMO_OPTYPE_FLAG_UNTAN_MULTIRES | | ||||
| BMO_OPTYPE_FLAG_NORMALS_CALC), | BMO_OPTYPE_FLAG_NORMALS_CALC), | ||||
| }; | }; | ||||
| /* | /* | ||||
| * XXX | |||||
sergey: Make proper comment. | |||||
| * | |||||
| * XXX | |||||
| */ | |||||
| static BMOpDefine bmo_planar_faces_def = { | |||||
| "planar_faces", | |||||
| /* slots_in */ | |||||
| {{"faces", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}}, /* input geometry. */ | |||||
| {"iterations", BMO_OP_SLOT_INT}, | |||||
| {"factor", BMO_OP_SLOT_FLT}, /* planar factor */ | |||||
| {{'\0'}}, | |||||
| }, | |||||
| /* slots_out */ | |||||
| {{"geom.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BM_EDGE | BM_FACE}}, /* output slot, computed boundary geometry. */ | |||||
| {{'\0'}}, | |||||
| }, | |||||
| bmo_planar_faces_exec, | |||||
| (BMO_OPTYPE_FLAG_SELECT_FLUSH | | |||||
| BMO_OPTYPE_FLAG_SELECT_VALIDATE), | |||||
| }; | |||||
| /* | |||||
| * Region Extend. | * Region Extend. | ||||
| * | * | ||||
| * used to implement the select more/less tools. | * used to implement the select more/less tools. | ||||
| * this puts some geometry surrounding regions of | * this puts some geometry surrounding regions of | ||||
| * geometry in geom into geom.out. | * geometry in geom into geom.out. | ||||
| * | * | ||||
| * if use_faces is 0 then geom.out spits out verts and edges, | * if use_faces is 0 then geom.out spits out verts and edges, | ||||
| * otherwise it spits out faces. | * otherwise it spits out faces. | ||||
| ▲ Show 20 Lines • Show All 1,840 Lines • ▼ Show 20 Lines | #endif | ||||
| &bmo_join_triangles_def, | &bmo_join_triangles_def, | ||||
| &bmo_mesh_to_bmesh_def, | &bmo_mesh_to_bmesh_def, | ||||
| &bmo_mirror_def, | &bmo_mirror_def, | ||||
| &bmo_object_load_bmesh_def, | &bmo_object_load_bmesh_def, | ||||
| &bmo_pointmerge_def, | &bmo_pointmerge_def, | ||||
| &bmo_pointmerge_facedata_def, | &bmo_pointmerge_facedata_def, | ||||
| &bmo_poke_def, | &bmo_poke_def, | ||||
| &bmo_recalc_face_normals_def, | &bmo_recalc_face_normals_def, | ||||
| &bmo_planar_faces_def, | |||||
| &bmo_region_extend_def, | &bmo_region_extend_def, | ||||
| &bmo_remove_doubles_def, | &bmo_remove_doubles_def, | ||||
| &bmo_reverse_colors_def, | &bmo_reverse_colors_def, | ||||
| &bmo_reverse_faces_def, | &bmo_reverse_faces_def, | ||||
| &bmo_reverse_uvs_def, | &bmo_reverse_uvs_def, | ||||
| &bmo_rotate_colors_def, | &bmo_rotate_colors_def, | ||||
| &bmo_rotate_def, | &bmo_rotate_def, | ||||
| &bmo_rotate_edges_def, | &bmo_rotate_edges_def, | ||||
| Show All 25 Lines | |||||
Make proper comment.