Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_gesture_ops.c
| Show First 20 Lines • Show All 812 Lines • ▼ Show 20 Lines | void WM_OT_lasso_gesture(wmOperatorType *ot) | ||||
| ot->invoke = WM_gesture_lasso_invoke; | ot->invoke = WM_gesture_lasso_invoke; | ||||
| ot->modal = WM_gesture_lasso_modal; | ot->modal = WM_gesture_lasso_modal; | ||||
| ot->exec = gesture_lasso_exec; | ot->exec = gesture_lasso_exec; | ||||
| ot->poll = WM_operator_winactive; | ot->poll = WM_operator_winactive; | ||||
| prop = RNA_def_property(ot->srna, "path", PROP_COLLECTION, PROP_NONE); | prop = RNA_def_property(ot->srna, "path", PROP_COLLECTION, PROP_NONE); | ||||
| RNA_def_property_struct_runtime(prop, &RNA_OperatorMousePath); | RNA_def_property_struct_runtime(ot->srna, prop, &RNA_OperatorMousePath); | ||||
| } | } | ||||
| #endif | #endif | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Straight Line Gesture | /** \name Straight Line Gesture | ||||
| * | * | ||||
| ▲ Show 20 Lines • Show All 292 Lines • Show Last 20 Lines | |||||