Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_ops.c
| Show First 20 Lines • Show All 1,249 Lines • ▼ Show 20 Lines | static void TRANSFORM_OT_seq_slide(struct wmOperatorType *ot) | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| prop = RNA_def_float_vector( | prop = RNA_def_float_vector( | ||||
| ot->srna, "value", 2, NULL, -FLT_MAX, FLT_MAX, "Offset", "", -FLT_MAX, FLT_MAX); | ot->srna, "value", 2, NULL, -FLT_MAX, FLT_MAX, "Offset", "", -FLT_MAX, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, 0); | RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, 0); | ||||
| WM_operatortype_props_advanced_begin(ot); | WM_operatortype_props_advanced_begin(ot); | ||||
| Transform_Properties(ot, P_SNAP); | Transform_Properties(ot, P_SNAP | P_VIEW2D_EDGE_PAN); | ||||
| } | } | ||||
| static void TRANSFORM_OT_rotate_normal(struct wmOperatorType *ot) | static void TRANSFORM_OT_rotate_normal(struct wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Rotate Normals"; | ot->name = "Rotate Normals"; | ||||
| ot->description = "Rotate split normal of selected items"; | ot->description = "Rotate split normal of selected items"; | ||||
| ot->idname = OP_NORMAL_ROTATION; | ot->idname = OP_NORMAL_ROTATION; | ||||
| ▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines | |||||