== UV/Image Editor ==

Patch #6570.

This patch adds color and alpha selectors to Image -> "New..." dialog.
This commit is contained in:
2007-05-03 15:10:44 +00:00
parent 7c5c0db23d
commit c71949419e
7 changed files with 28 additions and 17 deletions

View File

@@ -270,6 +270,7 @@ void b_verse_pop_node(VNode *vnode)
else if(vnode->type==V_NT_BITMAP) {
struct VBitmapData *vbitmap;
struct VBitmapLayer *vblayer;
float color[] = {0, 0, 0, 1};
vbitmap = (VBitmapData*)vnode->data;
@@ -293,7 +294,8 @@ void b_verse_pop_node(VNode *vnode)
vbitmap->width,
vbitmap->height,
vnode->name,
0);
0,
color);
((Image*)vbitmap->image)->vnode = (void*)vnode;
sync_blender_image_with_verse_bitmap_node(vnode);