Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-12-13 12:04:04 +0300
committerJoshua Leung <aligorith@gmail.com>2010-12-13 12:04:04 +0300
commit25bf9e38f3fbeb1e36f29b1296f0bbc2dd61f9d2 (patch)
tree9c2e5ead4aa0ad500735a8c9b251f29907f82d3b /source/blender/makesrna/intern/rna_armature.c
parent02ec64ca46b277175a35e8289c5b6e10d44ff275 (diff)
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
-rw-r--r--source/blender/makesrna/intern/rna_armature.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index 8f436d9597d..1cf6ffb00bc 100644
--- a/source/blender/makesrna/intern/rna_armature.c
+++ b/source/blender/makesrna/intern/rna_armature.c
@@ -551,7 +551,6 @@ static void rna_def_bone(BlenderRNA *brna)
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);