diff options
author | Juho Vepsalainen <bebraw@gmail.com> | 2007-06-14 18:36:27 +0400 |
---|---|---|
committer | Juho Vepsalainen <bebraw@gmail.com> | 2007-06-14 18:36:27 +0400 |
commit | a499da719217a3009a7014203a91f914742da74a (patch) | |
tree | 14709a1d36e451f168d2f993323b4671d3a39387 /source/blender/include/BDR_editcurve.h | |
parent | 0ed2e0e706de6aa322807602599528c207157666 (diff) |
Curve Selection Tool Refactor:
This commit refactors curve selection system to use certain curve selections
functions that encapsulate setting of selection flags. New function to select
adjacent control points was introduced too. Refactoring made it possible to
simplify certain existing selection functions quite a bit.
New functionality was delivered as well. Select more/less works now with NURBS
as expected. Also two new curve selection functions were added: Select Every Nth
and Select Random.
See http://wiki.blender.org/index.php/BlenderDev/Curve_Selection_Tools for
further information.
Diffstat (limited to 'source/blender/include/BDR_editcurve.h')
-rw-r--r-- | source/blender/include/BDR_editcurve.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/include/BDR_editcurve.h b/source/blender/include/BDR_editcurve.h index a6319f2333c..a8c36c3485b 100644 --- a/source/blender/include/BDR_editcurve.h +++ b/source/blender/include/BDR_editcurve.h @@ -78,11 +78,13 @@ void extrude_nurb(void); void makecyclicNurb(void); void selectconnected_nurb(void); void selectrow_nurb(void); -void selectends_nurb(int selFirst); +void selectend_nurb(short selfirst, short doswap, short selstatus); void select_more_nurb(void); void select_less_nurb(void); void select_next_nurb(void); void select_prev_nurb(void); +void select_random_nurb(void); +void select_every_nth_nurb(void); void adduplicate_nurb(void); void delNurb(void); void nurb_set_smooth(short event); @@ -98,4 +100,3 @@ int bezt_compare (const void *e1, const void *e2); extern void undo_push_curve(char *name); #endif /* BDR_EDITCURVE_H */ - |