Patch #4955, Joshua Leung (aligorith)
Four more selection options in Curve editing; - select more/less (ctrl+numpadplus/minus) - select first/last point All nice in menus and toolbox even! Patch note: had to fix bugs in using 'continue' inside of while() loops. Turned all oldstyle while() in for() for going over lists.
This commit is contained in:
@@ -2116,6 +2116,14 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
if ( (G.qual==LR_CTRLKEY)
|
||||
&& (G.obedit) && (G.obedit->type==OB_MESH) )
|
||||
select_less();
|
||||
else if ( (G.qual==LR_CTRLKEY)
|
||||
&& (G.obedit) && (G.obedit->type==OB_CURVE) )
|
||||
select_less_nurb();
|
||||
/*
|
||||
else if ( (G.qual==LR_CTRLKEY)
|
||||
&& (G.obedit) && (G.obedit->type==OB_SURF) )
|
||||
select_less_nurb();
|
||||
*/
|
||||
else {
|
||||
persptoetsen(event);
|
||||
doredraw= 1;
|
||||
@@ -2126,6 +2134,14 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
if ( (G.qual==LR_CTRLKEY)
|
||||
&& (G.obedit) && (G.obedit->type==OB_MESH) )
|
||||
select_more();
|
||||
else if ( (G.qual==LR_CTRLKEY)
|
||||
&& (G.obedit) && (G.obedit->type==OB_CURVE) )
|
||||
select_more_nurb();
|
||||
/*
|
||||
else if ( (G.qual==LR_CTRLKEY)
|
||||
&& (G.obedit) && (G.obedit->type==OB_SURF) )
|
||||
select_more_nurb();
|
||||
*/
|
||||
else {
|
||||
persptoetsen(event);
|
||||
doredraw= 1;
|
||||
|
||||
Reference in New Issue
Block a user