== UI icons ==
* Moved ICON_BLENDER away from (0,0) spot in blenderbuttons, since ICON_BLENDER=0 define is conflicting ICON_NULL define as well as with logic checks for nonzero icon id. * This solved bug where ICON_BLENDER can't be set from Python as well as when using new UI functions from within Blender.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 205 KiB |
File diff suppressed because it is too large
Load Diff
@@ -35,7 +35,7 @@
|
||||
once for interface_api.c for the definition of the RNA enum for the icons */
|
||||
|
||||
/* ICON_ prefix added */
|
||||
DEF_ICON(BLENDER)
|
||||
DEF_ICON(NONE)
|
||||
DEF_ICON(QUESTION)
|
||||
DEF_ICON(ERROR)
|
||||
DEF_ICON(CANCEL)
|
||||
@@ -50,8 +50,8 @@ DEF_ICON(DISCLOSURE_TRI_RIGHT)
|
||||
DEF_ICON(RADIOBUT_OFF)
|
||||
DEF_ICON(RADIOBUT_ON)
|
||||
DEF_ICON(MENU_PANEL)
|
||||
DEF_ICON(BLENDER)
|
||||
#ifndef DEF_ICON_BLANK_SKIP
|
||||
DEF_ICON(BLANK002)
|
||||
DEF_ICON(BLANK003)
|
||||
#endif
|
||||
DEF_ICON(DOT)
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#define DEF_VICO(name) VICO_##name,
|
||||
|
||||
typedef enum {
|
||||
#define BIFICONID_FIRST (ICON_BLENDER)
|
||||
#define BIFICONID_FIRST (ICON_NONE)
|
||||
/* ui */
|
||||
#include "UI_icons.h"
|
||||
BIFICONID_LAST
|
||||
|
||||
Reference in New Issue
Block a user