Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.c
| Show First 20 Lines • Show All 959 Lines • ▼ Show 20 Lines | switch (t->data_type) { | ||||
| case TC_NONE: | case TC_NONE: | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| int special_transform_moving(TransInfo *t) | int special_transform_moving(TransInfo *t) | ||||
| { | { | ||||
| if (t->options & CTX_CURSOR) { | |||||
| return G_TRANSFORM_CURSOR; | |||||
| } | |||||
| if (t->spacetype == SPACE_SEQ) { | if (t->spacetype == SPACE_SEQ) { | ||||
| return G_TRANSFORM_SEQ; | return G_TRANSFORM_SEQ; | ||||
| } | } | ||||
| if (t->spacetype == SPACE_GRAPH) { | if (t->spacetype == SPACE_GRAPH) { | ||||
| return G_TRANSFORM_FCURVES; | return G_TRANSFORM_FCURVES; | ||||
| } | } | ||||
| if ((t->flag & T_EDIT) || (t->options & CTX_POSE_BONE)) { | if ((t->flag & T_EDIT) || (t->options & CTX_POSE_BONE)) { | ||||
| return G_TRANSFORM_EDIT; | return G_TRANSFORM_EDIT; | ||||
| ▲ Show 20 Lines • Show All 821 Lines • Show Last 20 Lines | |||||