add a button for object color access, previously could only be accessed via Ipos
This commit is contained in:
@@ -2688,7 +2688,7 @@ static void object_panel_draw(Object *ob)
|
||||
uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
|
||||
|
||||
/* LAYERS */
|
||||
xco= 120;
|
||||
xco= 80;
|
||||
dx= 35;
|
||||
dy= 30;
|
||||
|
||||
@@ -2709,6 +2709,9 @@ static void object_panel_draw(Object *ob)
|
||||
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
/* Object Color */
|
||||
uiDefButF(block, COL, REDRAWVIEW3D, "", 270, 165,30, 30, ob->col, 0, 0, 0, 0, "Object color, used when faces have the ObCol mode enabled");
|
||||
|
||||
uiDefBut(block, LABEL, 0, "Drawtype", 10,120,100,20, NULL, 0, 0, 0, 0, "");
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
|
||||
Reference in New Issue
Block a user