Fix T72024: Transform Snap: Alingn Rotation distorts object

Occurs in edit mode when object has no uniform scale.
This commit is contained in:
Germano Cavalcante 2019-11-29 12:06:02 -03:00
parent f63d65ae5a
commit 3a5d398aaf
Notes: blender-bot 2023-06-07 10:31:13 +02:00
Referenced by issue #72024, Snapping faces to another surface does not work properly (with transforms)
1 changed files with 2 additions and 2 deletions

View File

@ -5262,12 +5262,12 @@ static void applyTranslationValue(TransInfo *t, const float vec[3])
copy_v3_v3(tvec, vec);
}
mul_m3_v3(td->smtx, tvec);
if (use_rotate_offset) {
add_v3_v3(tvec, rotate_offset);
}
mul_m3_v3(td->smtx, tvec);
if (t->options & CTX_GPENCIL_STROKES) {
/* grease pencil multiframe falloff */
bGPDstroke *gps = (bGPDstroke *)td->extra;