Fix T89571: Align Orientation to Target keeps rotation when toggled
This commit is contained in:
parent
1e532eb37a
commit
4546f176eb
Notes:
blender-bot
2023-02-14 07:30:31 +01:00
Referenced by commitf578e31a8e
, Correction to T89571 fix4546f176eb
Referenced by issue #89571, Align Orientation to Target keeps rotation when toggled
|
@ -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…
Reference in New Issue