[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34884] trunk/blender/source/blender/ makesrna/intern/rna_object.c: Bugfix: Browing Pose Libs should work now...

Joshua Leung aligorith at gmail.com
Wed Feb 16 01:19:54 CET 2011


Revision: 34884
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34884
Author:   aligorith
Date:     2011-02-16 00:19:54 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
Bugfix: Browing Pose Libs should work now... RNA wrapping was missing
an "editable" flag there

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_object.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_object.c	2011-02-16 00:17:22 UTC (rev 34883)
+++ trunk/blender/source/blender/makesrna/intern/rna_object.c	2011-02-16 00:19:54 UTC (rev 34884)
@@ -2254,6 +2254,7 @@
 	/* 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");
 




More information about the Bf-blender-cvs mailing list