Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_curve.c
| Show First 20 Lines • Show All 412 Lines • ▼ Show 20 Lines | |||||
| #undef SEL_F1 | #undef SEL_F1 | ||||
| #undef SEL_F2 | #undef SEL_F2 | ||||
| #undef SEL_F3 | #undef SEL_F3 | ||||
| } | } | ||||
| void recalcData_curve(TransInfo *t) | void recalcData_curve(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) { | ||||
| Curve *cu = tc->obedit->data; | Curve *cu = tc->obedit->data; | ||||
| ListBase *nurbs = BKE_curve_editNurbs_get(cu); | ListBase *nurbs = BKE_curve_editNurbs_get(cu); | ||||
| Nurb *nu = nurbs->first; | Nurb *nu = nurbs->first; | ||||
| DEG_id_tag_update(tc->obedit->data, ID_RECALC_GEOMETRY); | DEG_id_tag_update(tc->obedit->data, ID_RECALC_GEOMETRY); | ||||
| Show All 19 Lines | |||||