diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-05 16:46:27 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-05 16:46:27 +0300 |
commit | 283b0ff7360a45077b173b653833e6310fa6f4b5 (patch) | |
tree | 50c05d73ceff5c3a1961f78ef5e6092a50b440e0 /source/blender/src/headerbuttons.c | |
parent | 0551b93808c86bea4dc063e3ef27e8c6f6fd63ef (diff) |
Orange; maintenance commit!
- Moved all 'render pipeline control' options out of the Material panels
into the (now renamed) "Links and Pipeline" Panel. These are the options
that are not per material-node, but global for the entire Material tree.
It includes ZTransp, Zinvert, Strands, Halo, Wire, etc.
- To further make Node editing clear, when you enable Nodes for the first
time, the link button to the first Material node is drawn red, to note
that here needs something linked or added.
- Protected Node editing for Library data
- Fixed header buttons to work OK for Node Window
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r-- | source/blender/src/headerbuttons.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index f8206db0eea..733c9b752f2 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -1440,6 +1440,8 @@ void do_global_buttons(unsigned short event) id= (ID *)G.buts->lockpoin; } else if(curarea->spacetype==SPACE_IPO) { id = (ID *)G.sipo->ipo; + } else if(curarea->spacetype==SPACE_NODE) { + id = ((SpaceNode *)curarea->spacedata.first)->id; } /* similar for other spacetypes ? */ if (id) { if( id->flag & LIB_FAKEUSER) { |