Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_lattice.c
| Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | while (a--) { | ||||
| bp++; | bp++; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| void recalcData_lattice(TransInfo *t) | void recalcData_lattice(TransInfo *t) | ||||
| { | { | ||||
| if (t->state != TRANS_CANCEL) { | if (t->state != TRANS_CANCEL) { | ||||
| applyProject(t); | applySnappingIndividual(t); | ||||
| } | } | ||||
| FOREACH_TRANS_DATA_CONTAINER (t, tc) { | FOREACH_TRANS_DATA_CONTAINER (t, tc) { | ||||
| Lattice *la = tc->obedit->data; | Lattice *la = tc->obedit->data; | ||||
| DEG_id_tag_update(tc->obedit->data, ID_RECALC_GEOMETRY); | DEG_id_tag_update(tc->obedit->data, ID_RECALC_GEOMETRY); | ||||
| if (la->editlatt->latt->flag & LT_OUTSIDE) { | if (la->editlatt->latt->flag & LT_OUTSIDE) { | ||||
| outside_lattice(la->editlatt->latt); | outside_lattice(la->editlatt->latt); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||