Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-01-02 20:40:03 +0300
committerTon Roosendaal <ton@blender.org>2006-01-02 20:40:03 +0300
commitc1a4e42a75d16f50972007cf9608998fa207dc21 (patch)
tree7526cb7783c64474722a19b99b940ae15d7ef4c4 /source/blender/src/interface.c
parent763695c0e88a928e9609ae3b4719b43cd455ca22 (diff)
Orange; another node update for reviewing.
Material Nodes now have input sockets, to override the actual Material settings. If socket has no input, you can also edit Material settings here. (Color picker, number slider). Of course a load of options will become available here, first bugfixing! (Oh, and enable fix thread render)
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index f43917ea9dc..d3379f37593 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -2527,25 +2527,8 @@ static int ui_do_but_BUTM(uiBut *but)
static int ui_do_but_LABEL(uiBut *but)
{
- /* new label type, for nodes, ctrl+clock on text gives options */
- if(but->block_func) {
- if(G.qual & LR_CTRLKEY) {
- ListBase listb={NULL, NULL};
- uiBlock *block= ui_do_but_BLOCK(but, 0);
-
- BLI_addtail(&listb, block);
- block->parent= NULL; /* we abused ui_do_but_BLOCK */
- uiDoBlocks(&listb, 0);
-
- uibut_do_func(but);
- return but->retval;
- }
- return 0;
- }
- else {
- uibut_do_func(but);
- return but->retval;
- }
+ uibut_do_func(but);
+ return but->retval;
}
static uiBut *ui_get_valid_link_button(uiBlock *block, uiBut *but, short *mval)
@@ -3065,6 +3048,7 @@ static int ui_do_but_COL(uiBut *but)
if(but->pointype==CHA) ui_set_but_vectorf(but, colstore);
+ uibut_do_func(but);
return but->retval;
}