Cam's patch to enable parenting in the OOPS menu.

Kent
This commit is contained in:
Kent Mein 2004-06-03 14:26:44 +00:00
parent bc329a57f9
commit 94042b0fef
2 changed files with 9 additions and 0 deletions

@ -111,6 +111,7 @@ static void oops_to_select_objects(void)
while(base) {
if(base->flag != base->object->flag) {
base->flag= base->object->flag;
set_active_base(base);
}
base= base->next;
}

@ -3560,6 +3560,14 @@ void winqreadoopsspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
transform_oops('s');
}
break;
case PKEY:
if((G.qual==LR_CTRLKEY)) {
make_parent();
} else if((G.qual==LR_ALTKEY)) {
clear_parent();
}
break;
case ONEKEY:
do_layer_buttons(0); break;