svn merge -r41171:41170 . --- fix coming next
authorCampbell Barton <ideasman42@gmail.com>
Fri, 21 Oct 2011 08:31:28 +0000 (08:31 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 21 Oct 2011 08:31:28 +0000 (08:31 +0000)
release/scripts/startup/keyingsets_builtins.py

index 0e31601a4d711c959a7518bedb5f772b33d59711..c7922a0dfa197ca8990b8d069607a1fe8d7cb748 100644 (file)
@@ -364,16 +364,12 @@ class BUILTIN_KSI_WholeCharacter(KeyingSetInfo):
             if prop == "_RNA_UI":
                 continue
 
-            # only do props which are marked as animatable, or those which are "numeric" types...
+            # for now, just add all of 'em
             prop_rna = type(bone).bl_rna.properties.get(prop, None)
             if prop_rna is None:
                 prop_path = '["%s"]' % prop
-
-                # XXX: the check below from r.40868 causes crashes [#28967] on ID-prop groups,
-                # so let's just include everything (doing nothing breaks keying of Sintel face rig)
-                #if bone.path_resolve(prop_path, False).rna_type in prop_type_compat:
-                #    ksi.addProp(ks, bone, prop_path)
-                ksi.addProp(ks, bone, prop_path)
+                if bone.path_resolve(prop_path, False).rna_type in prop_type_compat:
+                    ksi.addProp(ks, bone, prop_path)
             elif prop_rna.is_animatable:
                 ksi.addProp(ks, bone, prop)