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:
authorMatt Ebb <matt@mke3.net>2010-04-30 11:22:07 +0400
committerMatt Ebb <matt@mke3.net>2010-04-30 11:22:07 +0400
commitc64e4566e199aeb2f16376e3e965b5a27bf3401e (patch)
treec72946ae3c588e391e78024ffaef9a77bc377b52 /source/blender/editors/space_view3d/view3d_select.c
parent188d1ccf562f5ff9e14fdcb56aae56ce2b33c25e (diff)
Fix [#22202] Box Selecting bones does not update animation windows
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_select.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_select.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c
index 2cad28b8d1e..7fe9ed968c5 100644
--- a/source/blender/editors/space_view3d/view3d_select.c
+++ b/source/blender/editors/space_view3d/view3d_select.c
@@ -1596,6 +1596,7 @@ static int view3d_borderselect_exec(bContext *C, wmOperator *op)
unsigned int *vbuffer=NULL; /* selection buffer */
unsigned int *col; /* color in buffer */
int bone_only;
+ int bone_selected=0;
int totobj= MAXPICKBUF; // XXX solve later
if((ob) && (ob->mode & OB_MODE_POSE))
@@ -1651,6 +1652,7 @@ static int view3d_borderselect_exec(bContext *C, wmOperator *op)
if(bone) {
if(selecting) {
bone->flag |= BONE_SELECTED;
+ bone_selected=1;
// XXX select_actionchannel_by_name(base->object->action, bone->name, 1);
}
else {
@@ -1676,6 +1678,8 @@ static int view3d_borderselect_exec(bContext *C, wmOperator *op)
}
}
+ if (bone_selected) WM_event_add_notifier(C, NC_OBJECT|ND_BONE_SELECT, base->object);
+
base= next;
}