Only render gravity lensing if it's enabled, Ctrl and Shift to alter tool strength (Shift = x10, Ctrl = x0.1)

This commit is contained in:
Simon Robertshaw
2012-08-10 14:03:23 +01:00
parent fd40ed234a
commit 810ea42f99
11 changed files with 74 additions and 20 deletions

View File

@@ -221,6 +221,7 @@ if(GetOption('win')):
env.Command(['generated/ElementClasses.cpp', 'generated/ElementClasses.h'], Glob('src/simulation/elements/*.cpp'), "python generator.py elements $TARGETS $SOURCES")
env.Command(['generated/ToolClasses.cpp', 'generated/ToolClasses.h'], Glob('src/simulation/tools/*.cpp'), "python generator.py tools $TARGETS $SOURCES")
t=env.Program(target=programName, source=sources)
Decider('MD5')
Default(t)
#if(GetOption('release')):