- Improved memory system for pupmenu(), which now stores 255 entries max.
Meaning menus come back to previous selection almost always. Also fixed annoying bug that caused Mirror menu (M in editmode) to start at 2nd item - New hotkey (test :) CTRL+TAB in editmode gives (and shows!) current selectmode. I prefer this over cycling, since the menu is informing you what happens. - To enforce pupmenus to start at specific item, use pupmenu_set_active() - pupmenu_col() to be done
This commit is contained in:
@@ -98,6 +98,8 @@ extern int EM_mask_init_backbuf_border(short mcords[][2], short tot, short xmin,
|
||||
extern int EM_check_backbuf_border(int index);
|
||||
extern void EM_free_backbuf_border(void);
|
||||
|
||||
extern void EM_selectmode_menu(void);
|
||||
|
||||
extern void vertexnoise(void);
|
||||
extern void vertexsmooth(void);
|
||||
extern void righthandfaces(int select);
|
||||
|
||||
@@ -273,8 +273,9 @@ void uiBlockSetFunc (uiBlock *block, void (*func)(void *arg1, void *arg2), void
|
||||
void uiButSetFunc (uiBut *but, void (*func)(void *arg1, void *arg2), void *arg1, void *arg2);
|
||||
void uiBlockSetDrawExtraFunc(uiBlock *block, void (*func)());
|
||||
|
||||
short pupmenu(char *instr);
|
||||
short pupmenu_col(char *instr, int maxrow);
|
||||
extern void pupmenu_set_active(int val);
|
||||
extern short pupmenu(char *instr);
|
||||
extern short pupmenu_col(char *instr, int maxrow);
|
||||
|
||||
extern void uiFreePanels(struct ListBase *lb);
|
||||
extern void uiNewPanelTabbed(char *, char *);
|
||||
|
||||
Reference in New Issue
Block a user