twhen rendering, dont check values - sphere - GPU-based 3D discrete element met… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5379ed77ad3917674c12f19a303e21aed69d8cd1 | |
parent 46310f2068bb6f90f90f5567bb9ee3390e3a7e48 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 28 Nov 2012 15:12:36 +0100 | |
when rendering, dont check values | |
Diffstat: | |
M src/main.cpp | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/src/main.cpp b/src/main.cpp | |
t@@ -79,8 +79,10 @@ int main(const int argc, const char *argv[]) | |
else if (argvi == "-n" || argvi == "--dry") | |
dry = 1; | |
- else if (argvi == "-r" || argvi == "--render") | |
+ else if (argvi == "-r" || argvi == "--render") { | |
render = 1; | |
+ checkVals = 0; | |
+ } | |
else if (argvi == "-dc" || argvi == "--dont-check") | |
checkVals = 0; |