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
This commit is contained in:
Campbell Barton
2010-12-08 04:40:20 +00:00
parent 23a49334ed
commit 1f16e68af9
2 changed files with 1 additions and 5 deletions

View File

@@ -188,7 +188,7 @@ typedef struct bPoseChannel {
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) */

View File

@@ -708,10 +708,6 @@ static void rna_def_pose_channel(BlenderRNA *brna)
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);