Fix: Animation Editor snapping not working when using rotate or scale #112088

Merged
Christoph Lendenfeld merged 1 commits from ChrisLend/blender:fix_ge_rotate_scale_handle_snap into main 2023-09-08 11:34:25 +02:00

View File

@ -164,6 +164,10 @@ bool transformModeUseSnap(const TransInfo *t)
static bool doForceIncrementSnap(const TransInfo *t)
{
if (ELEM(t->spacetype, SPACE_GRAPH, SPACE_ACTION, SPACE_NLA)) {
/* These spaces don't support increment snapping. */
return false;
}
if (t->modifiers & MOD_SNAP_FORCED) {
return false;
}