Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_generics.c
| Show First 20 Lines • Show All 1,001 Lines • ▼ Show 20 Lines | else if (t->obedit_type == OB_ARMATURE) { /* no recalc flag, does pose */ | ||||
| if (arm->flag & ARM_MIRROR_EDIT) { | if (arm->flag & ARM_MIRROR_EDIT) { | ||||
| if (t->state != TRANS_CANCEL) { | if (t->state != TRANS_CANCEL) { | ||||
| ED_armature_edit_transform_mirror_update(tc->obedit); | ED_armature_edit_transform_mirror_update(tc->obedit); | ||||
| } | } | ||||
| else { | else { | ||||
| restoreBones(tc); | restoreBones(tc); | ||||
| } | } | ||||
| } | } | ||||
| /* Tag for redraw/invalidate overlay cache. */ | |||||
| DEG_id_tag_update(&arm->id, ID_RECALC_SELECT); | |||||
| } | } | ||||
| } | } | ||||
| else { | else { | ||||
| if (t->state != TRANS_CANCEL) { | if (t->state != TRANS_CANCEL) { | ||||
| applyProject(t); | applyProject(t); | ||||
| } | } | ||||
| FOREACH_TRANS_DATA_CONTAINER (t, tc) { | FOREACH_TRANS_DATA_CONTAINER (t, tc) { | ||||
| if (tc->data_len) { | if (tc->data_len) { | ||||
| ▲ Show 20 Lines • Show All 1,561 Lines • Show Last 20 Lines | |||||