Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_mode_resize.c
| Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | else { | ||||
| add_v3_v3(t->values_final, t->values_modal_offset); | add_v3_v3(t->values_final, t->values_modal_offset); | ||||
| transform_snap_increment(t, t->values_final); | transform_snap_increment(t, t->values_final); | ||||
| if (applyNumInput(&t->num, t->values_final)) { | if (applyNumInput(&t->num, t->values_final)) { | ||||
| constraintNumInput(t, t->values_final); | constraintNumInput(t, t->values_final); | ||||
| } | } | ||||
| applySnapping(t, t->values_final); | applySnappingAsGroup(t, t->values_final); | ||||
| } | } | ||||
| size_to_mat3(mat, t->values_final); | size_to_mat3(mat, t->values_final); | ||||
| if (t->con.mode & CON_APPLY) { | if (t->con.mode & CON_APPLY) { | ||||
| t->con.applySize(t, NULL, NULL, mat); | t->con.applySize(t, NULL, NULL, mat); | ||||
| /* Only so we have re-usable value with redo. */ | /* Only so we have re-usable value with redo. */ | ||||
| float pvec[3] = {0.0f, 0.0f, 0.0f}; | float pvec[3] = {0.0f, 0.0f, 0.0f}; | ||||
| ▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines | |||||