Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_object_texspace.c
| Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Recalc Data object | /** \name Recalc Data object | ||||
| * \{ */ | * \{ */ | ||||
| void recalcData_texspace(TransInfo *t) | void recalcData_texspace(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) { | ||||
| TransData *td = tc->data; | TransData *td = tc->data; | ||||
| for (int i = 0; i < tc->data_len; i++, td++) { | for (int i = 0; i < tc->data_len; i++, td++) { | ||||
| if (td->flag & TD_SKIP) { | if (td->flag & TD_SKIP) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| DEG_id_tag_update(&td->ob->id, ID_RECALC_GEOMETRY); | DEG_id_tag_update(&td->ob->id, ID_RECALC_GEOMETRY); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||