mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T89571: Align Orientation to Target keeps rotation when toggled
This commit is contained in:
parent
1e532eb37a
commit
4546f176eb
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ static void ApplySnapTranslation(TransInfo *t, float vec[3])
|
|||
|
||||
static void applyTranslationValue(TransInfo *t, const float vec[3])
|
||||
{
|
||||
const bool apply_snap_align_rotation = usingSnappingNormal(t);
|
||||
const bool apply_snap_align_rotation = activeSnap(t) && usingSnappingNormal(t);
|
||||
const bool is_valid_snapping_normal = apply_snap_align_rotation && validSnappingNormal(t);
|
||||
|
||||
/* Ideally "apply_snap_align_rotation" would only be used when a snap point is found:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue