Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_interpolate.c
| Show First 20 Lines • Show All 728 Lines • ▼ Show 20 Lines | void GPENCIL_OT_interpolate(wmOperatorType *ot) | ||||
| ot->modal = gpencil_interpolate_modal; | ot->modal = gpencil_interpolate_modal; | ||||
| ot->cancel = gpencil_interpolate_cancel; | ot->cancel = gpencil_interpolate_cancel; | ||||
| ot->poll = gpencil_view3d_poll; | ot->poll = gpencil_view3d_poll; | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_UNDO | OPTYPE_BLOCKING; | ot->flag = OPTYPE_UNDO | OPTYPE_BLOCKING; | ||||
| /* properties */ | /* properties */ | ||||
| RNA_def_float_percentage( | RNA_def_float_factor( | ||||
| ot->srna, | ot->srna, | ||||
| "shift", | "shift", | ||||
| 0.0f, | 0.0f, | ||||
| -1.0f, | -1.0f, | ||||
| 1.0f, | 1.0f, | ||||
| "Shift", | "Shift", | ||||
| "Bias factor for which frame has more influence on the interpolated strokes", | "Bias factor for which frame has more influence on the interpolated strokes", | ||||
| -0.9f, | -0.9f, | ||||
| ▲ Show 20 Lines • Show All 485 Lines • Show Last 20 Lines | |||||