diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-10 03:14:29 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-10 03:14:29 +0300 |
commit | c691979370d724ff3439e800a7cbd0aadd60c393 (patch) | |
tree | 523f282699f03ec5354e1fe9ab21b7dfde8615e3 /source/blender/src/drawnode.c | |
parent | 16514e3ddb8500242931650c93f1397147442eba (diff) |
== 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.
Diffstat (limited to 'source/blender/src/drawnode.c')
-rw-r--r-- | source/blender/src/drawnode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/drawnode.c b/source/blender/src/drawnode.c index 5c426cdb395..d85e3199fb3 100644 --- a/source/blender/src/drawnode.c +++ b/source/blender/src/drawnode.c @@ -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) |