[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16549] trunk/blender/source/blender/ makesdna/DNA_userdef_types.h: Bugfix #17627: Autokeyframe for Visual keying

Joshua Leung aligorith at gmail.com
Tue Sep 16 08:11:02 CEST 2008


Revision: 16549
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16549
Author:   aligorith
Date:     2008-09-16 08:11:02 +0200 (Tue, 16 Sep 2008)

Log Message:
-----------
Bugfix #17627: Autokeyframe for Visual keying

Several months old typo! 'Visual keying' was not working for autokeyframing, as the test for it didn't even work.

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/DNA_userdef_types.h

Modified: trunk/blender/source/blender/makesdna/DNA_userdef_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_userdef_types.h	2008-09-16 02:58:33 UTC (rev 16548)
+++ trunk/blender/source/blender/makesdna/DNA_userdef_types.h	2008-09-16 06:11:02 UTC (rev 16549)
@@ -292,7 +292,7 @@
 /* Auto-Keying macros */
 #define IS_AUTOKEY_ON			(U.autokey_mode & AUTOKEY_ON)
 #define IS_AUTOKEY_MODE(mode) 	(U.autokey_mode == AUTOKEY_MODE_##mode)
-#define IS_AUTOKEY_FLAG(flag)	(U.autokey_flag == AUTOKEY_FLAG_##flag)
+#define IS_AUTOKEY_FLAG(flag)	(U.autokey_flag & AUTOKEY_FLAG_##flag)
 
 /* transopts */
 #define	USER_TR_TOOLTIPS		(1 << 0)





More information about the Bf-blender-cvs mailing list