added access to object alpha since there is alredy ipo access
This commit is contained in:
@@ -2730,7 +2730,7 @@ static void object_panel_draw(Object *ob)
|
|||||||
uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
|
uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
|
||||||
|
|
||||||
/* LAYERS */
|
/* LAYERS */
|
||||||
xco= 80;
|
xco= 65;
|
||||||
dx= 35;
|
dx= 35;
|
||||||
dy= 30;
|
dy= 30;
|
||||||
|
|
||||||
@@ -2752,7 +2752,10 @@ static void object_panel_draw(Object *ob)
|
|||||||
uiBlockEndAlign(block);
|
uiBlockEndAlign(block);
|
||||||
|
|
||||||
/* Object Color */
|
/* 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");
|
uiBlockBeginAlign(block);
|
||||||
|
uiDefButF(block, COL, REDRAWVIEW3D, "", 250, 180, 50, 15, ob->col, 0, 0, 0, 0, "Object color, used when faces have the ObCol mode enabled");
|
||||||
|
uiDefButF(block, NUM, REDRAWVIEW3D, "A:", 250, 165, 50, 15, &ob->col[3], 0.0f, 1.0f, 10, 2, "Object alpha, used when faces have the ObCol mode enabled");
|
||||||
|
uiBlockEndAlign(block);
|
||||||
|
|
||||||
uiDefBut(block, LABEL, 0, "Drawtype", 10,120,100,20, NULL, 0, 0, 0, 0, "");
|
uiDefBut(block, LABEL, 0, "Drawtype", 10,120,100,20, NULL, 0, 0, 0, 0, "");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user