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>2011-02-16 03:19:54 +0300
committerJoshua Leung <aligorith@gmail.com>2011-02-16 03:19:54 +0300
commitc39aba0f82148eed378218e8994d2edf75f2b7cb (patch)
tree73390607a282fd8c3bcafabed8ab9a4d64e09af1 /source/blender/makesrna
parent147309e3c5b2047ee1017af7a810539f1514007d (diff)
Bugfix: Browing Pose Libs should work now... RNA wrapping was missing
an "editable" flag there
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index ccaa6eb111a..85cc3a2eea9 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2254,6 +2254,7 @@ static void rna_def_object(BlenderRNA *brna)
/* pose */
prop= RNA_def_property(srna, "pose_library", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "poselib");
+ RNA_def_property_flag(prop, PROP_EDITABLE);
RNA_def_property_struct_type(prop, "Action");
RNA_def_property_ui_text(prop, "Pose Library", "Action used as a pose library for armatures");