From 2e79e4e9751aa44da905fb0646d8b9b8b4f9d825 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 11 Feb 2009 16:54:55 +0000 Subject: 2.5 Smaller jobs, all in one commit! - Moved object_do_update out of view3d drawing, into the event system (currently after notifiers). Depsgraph calls for setting update flags will have to keep track of each Screen's needs, so a UI showing only a Sequencer doesn't do objects. - Added button in "Properties region" in 3D window to set or disable 4-split, including the 3 options it has. (lock, box, clip) - Restored legacy code for UI, to make things work like bone rename, autocomplete. - Node editor now shows Curves widgets again - Bugfix: composite job increased Viewer user id count - Bugfix: Node editor, not "Enable nodes" still called a Job, which didn't do anything - Various code cleaning, unused vars and prototypes. --- source/blender/editors/armature/editarmature.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index 125f9bb889d..9dfd356ce43 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -4386,7 +4386,6 @@ static int pose_de_select_all_exec(bContext *C, wmOperator *op) Object *ob= CTX_data_active_object(C); bArmature *arm= ob->data; bPoseChannel *pchan; - EditBone *ebone; int sel=1; /* Determine if there are any selected bones @@ -4425,7 +4424,6 @@ void POSE_OT_de_select_all(wmOperatorType *ot) static int pose_select_parent_exec(bContext *C, wmOperator *op) { Object *ob= CTX_data_active_object(C); - bArmature *arm= ob->data; bPoseChannel *pchan,*parent; /* Determine if there is an active bone */ @@ -4439,7 +4437,7 @@ static int pose_select_parent_exec(bContext *C, wmOperator *op) } } - WM_event_add_notifier(C, NC_OBJECT|ND_BONE_SELECT, NULL); + WM_event_add_notifier(C, NC_OBJECT|ND_BONE_SELECT, ob); return OPERATOR_FINISHED; } -- cgit v1.2.3