[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12962] trunk/blender: A little christmas present for the lazy coders.
Nathan Letwory
jesterking at letwory.net
Thu Dec 20 18:52:57 CET 2007
Revision: 12962
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12962
Author: jesterking
Date: 2007-12-20 18:52:57 +0100 (Thu, 20 Dec 2007)
Log Message:
-----------
A little christmas present for the lazy coders.
In your user-config.py you can now set BF_FANCY='false' and enjoy the... lack of colors
Modified Paths:
--------------
trunk/blender/SConstruct
trunk/blender/tools/btools.py
Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct 2007-12-20 17:08:17 UTC (rev 12961)
+++ trunk/blender/SConstruct 2007-12-20 17:52:57 UTC (rev 12962)
@@ -170,6 +170,9 @@
opts = btools.read_opts(optfiles, B.arguments)
opts.Update(env)
+if not env['BF_FANCY']:
+ B.bc.disable()
+
# disable elbeem (fluidsim) compilation?
if env['BF_NO_ELBEEM'] == 1:
env['CPPFLAGS'].append('-DDISABLE_ELBEEM')
Modified: trunk/blender/tools/btools.py
===================================================================
--- trunk/blender/tools/btools.py 2007-12-20 17:08:17 UTC (rev 12961)
+++ trunk/blender/tools/btools.py 2007-12-20 17:52:57 UTC (rev 12962)
@@ -55,7 +55,8 @@
'BF_VERSE_INCLUDE',
'VERSE_BUILD_BINARY', 'VERSE_BUILD_DIR', 'VERSE_REGEN_PROTO',
'BF_TWEAK_MODE', 'BF_SPLIT_SRC',
- 'WITHOUT_BF_INSTALL'
+ 'WITHOUT_BF_INSTALL',
+ 'BF_FANCY',
]
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
@@ -298,8 +299,9 @@
(BoolOption('BF_BUILDINFO', 'Buildtime in splash if true', 'true')),
(BoolOption('BF_TWEAK_MODE', 'Enable tweak mode if true', 'false')),
- (BoolOption('BF_SPLIT_SRC', 'Split src lib into several chunks if true', 'false')),
+ (BoolOption('BF_SPLIT_SRC', 'Split src lib into several chunks if true', 'false')),
(BoolOption('WITHOUT_BF_INSTALL', 'dont install if true', 'false')),
+ (BoolOption('BF_FANCY', 'Enable fancy output if true', 'true')),
) # end of opts.AddOptions()
More information about the Bf-blender-cvs
mailing list