diff options
author | Johnny Matthews <johnny.matthews@gmail.com> | 2005-08-08 19:59:05 +0400 |
---|---|---|
committer | Johnny Matthews <johnny.matthews@gmail.com> | 2005-08-08 19:59:05 +0400 |
commit | 7f98c960b530782fd0a6d34a222a8cd8d80ff35b (patch) | |
tree | 36d980529a15ef9cfddfc6c8c078c20dbf8cb0d9 /source/blender/include/BIF_editmesh.h | |
parent | ed80fde36b2357f8274671a930cecb1fe8449d98 (diff) |
Added extra Select Type option for esubdivide and put them in defines to get rid of magic numbers
SUBDIV_SELECT_ORIG - Retain selection to look like original selection
SUBDIV_SELECT_INNER - New selection is all the new inner edges
SUBDIV_SELECT_INNER_SEL - New selection is all the new inner edges except where only 1 edges was selected on a face
Loopcut now uses SUBDIV_SELECT_INNER_SEL for better interaction with edgeslide
Diffstat (limited to 'source/blender/include/BIF_editmesh.h')
-rw-r--r-- | source/blender/include/BIF_editmesh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index bbf51433374..c92449ddea7 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -154,6 +154,11 @@ extern void LoopMenu(void); extern short sharesFace(struct EditEdge* e1, struct EditEdge* e2); /* ******************* editmesh_tools.c */ + +#define SUBDIV_SELECT_ORIG 0 +#define SUBDIV_SELECT_INNER 1 +#define SUBDIV_SELECT_INNER_SEL 2 + extern void convert_to_triface(int all); extern int removedoublesflag(short flag, float limit); extern void xsortvert_flag(int flag); |