Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_input.c
| Context not available. | |||||
| output[1] = toutput[0]; | output[1] = toutput[0]; | ||||
| } | } | ||||
| void initMouseInput(TransInfo *UNUSED(t), MouseInput *mi, const float center[2], const int mval[2]) | void initMouseInput(TransInfo *t, MouseInput *mi, const int mval[2]) | ||||
| { | { | ||||
| mi->factor = 0; | mi->factor = 0; | ||||
| mi->precision = 0; | mi->precision = 0; | ||||
| mi->center[0] = center[0]; | mi->center = t->center2d; | ||||
| mi->center[1] = center[1]; | |||||
| mi->imval[0] = mval[0]; | mi->imval[0] = mval[0]; | ||||
| mi->imval[1] = mval[1]; | mi->imval[1] = mval[1]; | ||||
| Context not available. | |||||