Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_ops.c
| Show First 20 Lines • Show All 1,164 Lines • ▼ Show 20 Lines | static int transform_from_gizmo_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event)) | ||||
| return OPERATOR_PASS_THROUGH; | return OPERATOR_PASS_THROUGH; | ||||
| } | } | ||||
| /* Use with 'TRANSFORM_GGT_gizmo'. */ | /* Use with 'TRANSFORM_GGT_gizmo'. */ | ||||
| static void TRANSFORM_OT_from_gizmo(struct wmOperatorType *ot) | static void TRANSFORM_OT_from_gizmo(struct wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Transform From Gizmo"; | ot->name = "Transform From Gizmo"; | ||||
| ot->description = "Transform selected items by mode type"; | |||||
| ot->idname = "TRANSFORM_OT_from_gizmo"; | ot->idname = "TRANSFORM_OT_from_gizmo"; | ||||
| ot->flag = 0; | ot->flag = 0; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->invoke = transform_from_gizmo_invoke; | ot->invoke = transform_from_gizmo_invoke; | ||||
| } | } | ||||
| void transform_operatortypes(void) | void transform_operatortypes(void) | ||||
| Show All 27 Lines | |||||