Revision: 47989
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47989
Author:   aligorith
Date:     2012-06-16 13:51:18 +0000 (Sat, 16 Jun 2012)
Log Message:
-----------
Bugfix [#31843] Inserting of visual keys for Damped Track constraint broken

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/keyframing.c

Modified: trunk/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyframing.c 2012-06-16 
13:46:20 UTC (rev 47988)
+++ trunk/blender/source/blender/editors/animation/keyframing.c 2012-06-16 
13:51:18 UTC (rev 47989)
@@ -559,7 +559,6 @@
        const char *identifier = NULL;
        
        /* validate data */
-       // TODO: this check is probably not needed, but it won't hurt
        if (ELEM3(NULL, ptr, ptr->data, prop))
                return 0;
                
@@ -635,6 +634,9 @@
                                case CONSTRAINT_TYPE_TRACKTO:
                                        if (searchtype == VISUALKEY_ROT) return 
1;
                                        break;
+                               case CONSTRAINT_TYPE_DAMPTRACK:
+                                       if (searchtype == VISUALKEY_ROT) return 
1;
+                                       break;
                                case CONSTRAINT_TYPE_ROTLIMIT:
                                        if (searchtype == VISUALKEY_ROT) return 
1;
                                        break;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to