[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33546] trunk/blender/source/blender: bug [#25081] changes to pose bone selection state via python have no effect.
Campbell Barton
ideasman42 at gmail.com
Wed Dec 8 05:40:22 CET 2010
Revision: 33546
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33546
Author: campbellbarton
Date: 2010-12-08 05:40:20 +0100 (Wed, 08 Dec 2010)
Log Message:
-----------
bug [#25081] changes to pose bone selection state via python have no effect.
Remove pose channel select, this is for internal use on read/write only.
Its possible to have a convenience attribute but rather not fake bone data being in the pose channel. just access pose_bone.bone.select
Modified Paths:
--------------
trunk/blender/source/blender/makesdna/DNA_action_types.h
trunk/blender/source/blender/makesrna/intern/rna_pose.c
Modified: trunk/blender/source/blender/makesdna/DNA_action_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_action_types.h 2010-12-08 03:25:31 UTC (rev 33545)
+++ trunk/blender/source/blender/makesdna/DNA_action_types.h 2010-12-08 04:40:20 UTC (rev 33546)
@@ -188,7 +188,7 @@
short flag; /* dynamic, for detecting transform changes */
short constflag; /* for quick detecting which constraints affect this channel */
short ikflag; /* settings for IK bones */
- short selectflag; /* copy of bone flag, so you can work with library armatures */
+ short selectflag; /* copy of bone flag, so you can work with library armatures, not for runtime use */
short protectflag; /* protect channels from being transformed */
short agrp_index; /* index of action-group this bone belongs to (0 = default/no group) */
Modified: trunk/blender/source/blender/makesrna/intern/rna_pose.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_pose.c 2010-12-08 03:25:31 UTC (rev 33545)
+++ trunk/blender/source/blender/makesrna/intern/rna_pose.c 2010-12-08 04:40:20 UTC (rev 33546)
@@ -708,10 +708,6 @@
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
RNA_def_struct_name_property(srna, prop);
- prop= RNA_def_property(srna, "select", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "selectflag", BONE_SELECTED);
- RNA_def_property_ui_text(prop, "Select", "");
-
/* Baked Bone Path cache data */
rna_def_motionpath_common(srna);
More information about the Bf-blender-cvs
mailing list