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:
authorMatt Ebb <matt@mke3.net>2008-02-05 04:35:55 +0300
committerMatt Ebb <matt@mke3.net>2008-02-05 04:35:55 +0300
commite3c88f66ee6003e4a29c08324b9d8948ddb4e7b2 (patch)
tree6b79ccfaa4bcb2a19100659bf3e271e44e5aec56 /source/blender
parent1dea2f1f72ebada491250eaf44dde82d034f7d80 (diff)
* small fix for a bug in the header render baking menu, baking texture only was doing the wrong thing.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/header_info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index 8200a9c0c76..89151481646 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -1742,7 +1742,7 @@ static uiBlock *info_timelinemenu(void *arg_unused)
void do_info_render_bakemenu(void *arg, int event)
{
switch (event) {
- case R_BAKE_TO_ACTIVE:
+ case 6:
G.scene->r.bake_flag ^= event;
break;
default:
@@ -1761,9 +1761,9 @@ static uiBlock *info_render_bakemenu(void *arg_unused)
uiBlockSetButmFunc(block, do_info_render_bakemenu, NULL);
if(G.scene->r.bake_flag & R_BAKE_TO_ACTIVE) {
- uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_HLT, "Selected to Active", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, R_BAKE_TO_ACTIVE, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_HLT, "Selected to Active", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 6, "");
} else {
- uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_DEHLT, "Selected to Active", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, R_BAKE_TO_ACTIVE, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_DEHLT, "Selected to Active", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 6, "");
}
uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");