added access to object alpha since there is alredy ipo access

This commit is contained in:
2008-05-10 13:09:34 +00:00
parent 3870080d3f
commit a404e4aead

View File

@@ -2730,7 +2730,7 @@ static void object_panel_draw(Object *ob)
uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
/* LAYERS */
xco= 80;
xco= 65;
dx= 35;
dy= 30;
@@ -2752,7 +2752,10 @@ 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");
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, "");