diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-09-17 09:26:18 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-09-17 09:26:18 +0400 |
commit | a48f15e124ef441d5f644f49899e4939aa13dff3 (patch) | |
tree | e20415556300c4bc30764671c94a559c59c1f4d7 /source | |
parent | 85a5b83b9bf5250d67e68b8927886446ce1c9a61 (diff) |
With the scons compiling option 'BF_NO_YAFRAY' or so turned on, there were a few unneeded functions still being compiled in buttons_scene. #ifdef'ing them now to reduced compiler warnings
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/buttons_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index 561e4e458f5..f9e94a6be37 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -1636,7 +1636,7 @@ static void render_panel_format(void) uiBlockEndAlign(block); } - +#ifndef DISABLE_YAFRAY /* disable yafray stuff */ /* yafray: global illumination options panel */ static void render_panel_yafrayGI() { @@ -1739,7 +1739,7 @@ static void render_panel_yafrayGlobal() uiDefButF(block, NUMSLI, B_DIFF, "Thr ", 160,90,150,20, &G.scene->r.YF_AAthreshold, 0.000001, 1.0, 0, 0, "AA threshold"); } } - +#endif /* disable yafray stuff */ static void layer_copy_func(void *lay_v, void *lay_p) { |