[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33630] trunk/blender/source/blender/ makesrna/intern/rna_armature.c: Bugfix #25188: Can't assign "add driver" to hide properties of bones

Joshua Leung aligorith at gmail.com
Mon Dec 13 10:04:04 CET 2010


Revision: 33630
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33630
Author:   aligorith
Date:     2010-12-13 10:04:04 +0100 (Mon, 13 Dec 2010)

Log Message:
-----------
Bugfix #25188: Can't assign "add driver" to hide properties of bones

This was set to being not-animatable in r33397. However, I think there
are some valid use cases where controlling layer visibility may be a
"too heavy handed" approach.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_armature.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_armature.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_armature.c	2010-12-13 08:44:07 UTC (rev 33629)
+++ trunk/blender/source/blender/makesrna/intern/rna_armature.c	2010-12-13 09:04:04 UTC (rev 33630)
@@ -551,7 +551,6 @@
 	prop= RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_HIDDEN_P);
 	RNA_def_property_ui_text(prop, "Hide", "Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)");
-	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
 
 	prop= RNA_def_property(srna, "select", PROP_BOOLEAN, PROP_NONE);





More information about the Bf-blender-cvs mailing list