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 113 Lines • ▼ Show 20 Lines | const EnumPropertyItem rna_enum_uv_sculpt_tool_items[] = { | ||||
| {UV_SCULPT_TOOL_GRAB, "GRAB", 0, "Grab", "Grab UVs"}, | {UV_SCULPT_TOOL_GRAB, "GRAB", 0, "Grab", "Grab UVs"}, | ||||
| {0, NULL, 0, NULL, NULL} | {0, NULL, 0, NULL, NULL} | ||||
| }; | }; | ||||
| const EnumPropertyItem rna_enum_snap_target_items[] = { | const EnumPropertyItem rna_enum_snap_target_items[] = { | ||||
| {SCE_SNAP_TARGET_CLOSEST, "CLOSEST", 0, "Closest", "Snap closest point onto target"}, | {SCE_SNAP_TARGET_CLOSEST, "CLOSEST", 0, "Closest", "Snap closest point onto target"}, | ||||
| {SCE_SNAP_TARGET_CENTER, "CENTER", 0, "Center", "Snap transormation center onto target"}, | {SCE_SNAP_TARGET_CENTER, "CENTER", 0, "Center", "Snap transormation center onto target"}, | ||||
| {SCE_SNAP_TARGET_MEDIAN, "MEDIAN", 0, "Median", "Snap median onto target"}, | {SCE_SNAP_TARGET_MEDIAN, "MEAN", 0, "Mean", "Snap mean onto target"}, | ||||
| {SCE_SNAP_TARGET_ACTIVE, "ACTIVE", 0, "Active", "Snap active onto target"}, | {SCE_SNAP_TARGET_ACTIVE, "ACTIVE", 0, "Active", "Snap active onto target"}, | ||||
| {0, NULL, 0, NULL, NULL} | {0, NULL, 0, NULL, NULL} | ||||
| }; | }; | ||||
| const EnumPropertyItem rna_enum_proportional_falloff_items[] = { | const EnumPropertyItem rna_enum_proportional_falloff_items[] = { | ||||
| {PROP_SMOOTH, "SMOOTH", ICON_SMOOTHCURVE, "Smooth", "Smooth falloff"}, | {PROP_SMOOTH, "SMOOTH", ICON_SMOOTHCURVE, "Smooth", "Smooth falloff"}, | ||||
| {PROP_SPHERE, "SPHERE", ICON_SPHERECURVE, "Sphere", "Spherical falloff"}, | {PROP_SPHERE, "SPHERE", ICON_SPHERECURVE, "Sphere", "Spherical falloff"}, | ||||
| {PROP_ROOT, "ROOT", ICON_ROOTCURVE, "Root", "Root falloff"}, | {PROP_ROOT, "ROOT", ICON_ROOTCURVE, "Root", "Root falloff"}, | ||||
| ▲ Show 20 Lines • Show All 326 Lines • ▼ Show 20 Lines | |||||
| #endif | #endif | ||||
| const EnumPropertyItem rna_enum_transform_pivot_items_full[] = { | const EnumPropertyItem rna_enum_transform_pivot_items_full[] = { | ||||
| {V3D_AROUND_CENTER_BOUNDS, "BOUNDING_BOX_CENTER", ICON_ROTATE, "Bounding Box Center", | {V3D_AROUND_CENTER_BOUNDS, "BOUNDING_BOX_CENTER", ICON_ROTATE, "Bounding Box Center", | ||||
| "Pivot around bounding box center of selected object(s)"}, | "Pivot around bounding box center of selected object(s)"}, | ||||
| {V3D_AROUND_CURSOR, "CURSOR", ICON_CURSOR, "3D Cursor", "Pivot around the 3D cursor"}, | {V3D_AROUND_CURSOR, "CURSOR", ICON_CURSOR, "3D Cursor", "Pivot around the 3D cursor"}, | ||||
| {V3D_AROUND_LOCAL_ORIGINS, "INDIVIDUAL_ORIGINS", ICON_ROTATECOLLECTION, | {V3D_AROUND_LOCAL_ORIGINS, "INDIVIDUAL_ORIGINS", ICON_ROTATECOLLECTION, | ||||
| "Individual Origins", "Pivot around each object's own origin"}, | "Individual Origins", "Pivot around each object's own origin"}, | ||||
| {V3D_AROUND_CENTER_MEAN, "MEDIAN_POINT", ICON_ROTATECENTER, "Median Point", | {V3D_AROUND_CENTER_MEAN, "MEAN_POINT", ICON_ROTATECENTER, "Mean Point", | ||||
| "Pivot around the median point of selected objects"}, | "Pivot around the mean point of selected objects"}, | ||||
| {V3D_AROUND_ACTIVE, "ACTIVE_ELEMENT", ICON_ROTACTIVE, "Active Element", "Pivot around active object"}, | {V3D_AROUND_ACTIVE, "ACTIVE_ELEMENT", ICON_ROTACTIVE, "Active Element", "Pivot around active object"}, | ||||
| {0, NULL, 0, NULL, NULL} | {0, NULL, 0, NULL, NULL} | ||||
| }; | }; | ||||
| /* Icons could be made a consistent set of images. */ | /* Icons could be made a consistent set of images. */ | ||||
| static const EnumPropertyItem transform_orientation_items[] = { | static const EnumPropertyItem transform_orientation_items[] = { | ||||
| {V3D_MANIP_GLOBAL, "GLOBAL", ICON_SCENE_DATA, "Global", "Align the transformation axes to world space"}, | {V3D_MANIP_GLOBAL, "GLOBAL", ICON_SCENE_DATA, "Global", "Align the transformation axes to world space"}, | ||||
| {V3D_MANIP_LOCAL, "LOCAL", ICON_MANIPUL, "Local", "Align the transformation axes to the selected objects' local space"}, | {V3D_MANIP_LOCAL, "LOCAL", ICON_MANIPUL, "Local", "Align the transformation axes to the selected objects' local space"}, | ||||
| ▲ Show 20 Lines • Show All 5,933 Lines • Show Last 20 Lines | |||||