Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.c
| Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | if (data_len_all != 1) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (!ELEM(t->around, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, V3D_AROUND_ACTIVE)) { | if (!ELEM(t->around, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, V3D_AROUND_ACTIVE)) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (!transform_mode_use_local_origins(t)) { | if (!transform_mode_use_local_origins(t)) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (t->flag | T_OVERRIDE_CENTER) { | if (t->flag & T_OVERRIDE_CENTER) { | ||||
| return; | return; | ||||
| } | } | ||||
| t->around = V3D_AROUND_LOCAL_ORIGINS; | t->around = V3D_AROUND_LOCAL_ORIGINS; | ||||
| } | } | ||||
| void transform_around_single_fallback(TransInfo *t) | void transform_around_single_fallback(TransInfo *t) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 1,648 Lines • Show Last 20 Lines | |||||