diff options
author | Martin Poirier <theeth@yahoo.com> | 2007-12-10 01:12:01 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2007-12-10 01:12:01 +0300 |
commit | 354ba2520cc16cf39133d08e56f26c66bae4181f (patch) | |
tree | d13891b6d5766ece0d6ab63c8678f2ebb8f32023 /source/blender/src/header_node.c | |
parent | 3b95767cf184350e4533146afb9970d559b99a16 (diff) |
[#6779] Fix backdrop draw in nodes
by Matthew Plough
Replaces the glDrawPixel call with glaDrawPixelsTex for faster and interpolated drawing.
Adds autocenter and autozoom instead of the clipping that happened previously.
Fixes the button event for timely redraw.
Diffstat (limited to 'source/blender/src/header_node.c')
-rw-r--r-- | source/blender/src/header_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_node.c b/source/blender/src/header_node.c index 83aff8bcbe1..ebdd42690f5 100644 --- a/source/blender/src/header_node.c +++ b/source/blender/src/header_node.c @@ -662,7 +662,7 @@ void node_buttons(ScrArea *sa) xco+= 80; uiDefButBitS(block, TOG, R_COMP_FREE, B_NOP, "Free Unused", xco+5,0,80,19, &G.scene->r.scemode, 0.0f, 0.0f, 0, 0, "Free Nodes that are not used while composite"); xco+= 80; - uiDefButBitS(block, TOG, SNODE_BACKDRAW, B_NOP, "Backdrop", xco+5,0,80,19, &snode->flag, 0.0f, 0.0f, 0, 0, "Use active Viewer Node output as backdrop"); + uiDefButBitS(block, TOG, SNODE_BACKDRAW, REDRAWNODE, "Backdrop", xco+5,0,80,19, &snode->flag, 0.0f, 0.0f, 0, 0, "Use active Viewer Node output as backdrop"); xco+= 80; } |