Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | const EnumPropertyItem rna_enum_snap_element_items[] = { | ||||
| {SCE_SNAP_MODE_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges"}, | {SCE_SNAP_MODE_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges"}, | ||||
| {SCE_SNAP_MODE_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap to faces"}, | {SCE_SNAP_MODE_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap to faces"}, | ||||
| {SCE_SNAP_MODE_VOLUME, "VOLUME", ICON_SNAP_VOLUME, "Volume", "Snap to volume"}, | {SCE_SNAP_MODE_VOLUME, "VOLUME", ICON_SNAP_VOLUME, "Volume", "Snap to volume"}, | ||||
| {SCE_SNAP_MODE_EDGE_MIDPOINT, | {SCE_SNAP_MODE_EDGE_MIDPOINT, | ||||
| "EDGE_MIDPOINT", | "EDGE_MIDPOINT", | ||||
| ICON_SNAP_MIDPOINT, | ICON_SNAP_MIDPOINT, | ||||
| "Edge Center", | "Edge Center", | ||||
| "Snap to the middle of edges"}, | "Snap to the middle of edges"}, | ||||
| {SCE_SNAP_MODE_EDGE_PERPENDICULAR, | |||||
| "EDGE_PERPENDICULAR", | |||||
| ICON_SNAP_PERPENDICULAR, | |||||
| "Edge Perpendicular", | |||||
| "Snap to the nearest point on an edge"}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| const EnumPropertyItem rna_enum_snap_node_element_items[] = { | const EnumPropertyItem rna_enum_snap_node_element_items[] = { | ||||
| {SCE_SNAP_MODE_GRID, "GRID", ICON_SNAP_GRID, "Grid", "Snap to grid"}, | {SCE_SNAP_MODE_GRID, "GRID", ICON_SNAP_GRID, "Grid", "Snap to grid"}, | ||||
| {SCE_SNAP_MODE_NODE_X, "NODE_X", ICON_NODE_SIDE, "Node X", "Snap to left/right node border"}, | {SCE_SNAP_MODE_NODE_X, "NODE_X", ICON_NODE_SIDE, "Node X", "Snap to left/right node border"}, | ||||
| {SCE_SNAP_MODE_NODE_Y, "NODE_Y", ICON_NODE_TOP, "Node Y", "Snap to top/bottom node border"}, | {SCE_SNAP_MODE_NODE_Y, "NODE_Y", ICON_NODE_TOP, "Node Y", "Snap to top/bottom node border"}, | ||||
| {SCE_SNAP_MODE_NODE_X | SCE_SNAP_MODE_NODE_Y, | {SCE_SNAP_MODE_NODE_X | SCE_SNAP_MODE_NODE_Y, | ||||
| ▲ Show 20 Lines • Show All 7,469 Lines • Show Last 20 Lines | |||||