== PyNodes ==

First fix in trunk: The "Update" button that appears in the Material buttons -> Nodes panel when a pynode is selected wasn't forcing an immediate update. Added a BIF_preview_changed call to fix it.

Let's pretend I actually knew that button also appeared there :) ... weeks working on pynodes and only right after Nathan commits to trunk I realize that this part of node panels is drawn in the buttons window, too.
This commit is contained in:
Willian Padovani Germano
2008-02-10 00:14:29 +00:00
parent 16514e3ddb
commit c691979370

View File

@@ -472,6 +472,7 @@ static void node_dynamic_update_cb(void *ntree_v, void *node_v)
allqueue(REDRAWBUTSSHADING, 0);
allqueue(REDRAWNODE, 0);
BIF_preview_changed(ID_MA);
}
static int node_buts_texture(uiBlock *block, bNodeTree *ntree, bNode *node, rctf *butr)