[Bf-blender-cvs] [497d0400bdc] master: Fix another error in rB5e12e62a6a4e
Germano Cavalcante
noreply at git.blender.org
Thu Oct 14 18:31:25 CEST 2021
Commit: 497d0400bdcd9fc932b7a875c5364934b1a96b07
Author: Germano Cavalcante
Date: Thu Oct 14 13:31:17 2021 -0300
Branches: master
https://developer.blender.org/rB497d0400bdcd9fc932b7a875c5364934b1a96b07
Fix another error in rB5e12e62a6a4e
The code was ignoring the icremental with small distances.
===================================================================
M source/blender/editors/transform/transform_snap_animation.c
===================================================================
diff --git a/source/blender/editors/transform/transform_snap_animation.c b/source/blender/editors/transform/transform_snap_animation.c
index d0d8f739b80..6856dcd9586 100644
--- a/source/blender/editors/transform/transform_snap_animation.c
+++ b/source/blender/editors/transform/transform_snap_animation.c
@@ -57,7 +57,7 @@ short getAnimEdit_SnapMode(TransInfo *t)
}
else if (t->spacetype == SPACE_GRAPH) {
if ((t->mode == TFM_TRANSLATION) && activeSnap(t)) {
- /* Use the translate mode snap. */
+ return autosnap;
}
else {
SpaceGraph *sipo = (SpaceGraph *)t->area->spacedata.first;
More information about the Bf-blender-cvs
mailing list