[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12055] trunk/blender/source/blender/src/ buttons_scene.c: With the scons compiling option 'BF_NO_YAFRAY' or so turned on, there were a few unneeded functions still being compiled in buttons_scene.
Joshua Leung
aligorith at gmail.com
Mon Sep 17 07:26:18 CEST 2007
Revision: 12055
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12055
Author: aligorith
Date: 2007-09-17 07:26:18 +0200 (Mon, 17 Sep 2007)
Log Message:
-----------
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
Modified Paths:
--------------
trunk/blender/source/blender/src/buttons_scene.c
Modified: trunk/blender/source/blender/src/buttons_scene.c
===================================================================
--- trunk/blender/source/blender/src/buttons_scene.c 2007-09-17 05:16:34 UTC (rev 12054)
+++ trunk/blender/source/blender/src/buttons_scene.c 2007-09-17 05:26:18 UTC (rev 12055)
@@ -1636,7 +1636,7 @@
uiBlockEndAlign(block);
}
-
+#ifndef DISABLE_YAFRAY /* disable yafray stuff */
/* yafray: global illumination options panel */
static void render_panel_yafrayGI()
{
@@ -1739,8 +1739,8 @@
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)
{
unsigned int *lay= lay_p;
More information about the Bf-blender-cvs
mailing list