From d4a18c563434d20e576a61102a5332a31ef3f5fd Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Mon, 21 Nov 2016 10:18:48 -0800 Subject: [PATCH] Update NN3DWalkers.cpp the excessive stack-space requirements in printWalkerConfigs breaks some proprietary/internal build systems. --- examples/Evolution/NN3DWalkers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/Evolution/NN3DWalkers.cpp b/examples/Evolution/NN3DWalkers.cpp index 148ebee0c..f1420410a 100755 --- a/examples/Evolution/NN3DWalkers.cpp +++ b/examples/Evolution/NN3DWalkers.cpp @@ -1035,6 +1035,7 @@ void NN3DWalkersExample::drawMarkings() { } void NN3DWalkersExample::printWalkerConfigs(){ +#if 0 char configString[25 + NUM_WALKERS*BODYPART_COUNT*JOINT_COUNT*(3+15+1) + NUM_WALKERS*4 + 1]; // 15 precision + [],\n char* runner = configString; sprintf(runner,"Population configuration:"); @@ -1058,4 +1059,5 @@ void NN3DWalkersExample::printWalkerConfigs(){ } runner[0] = '\0'; b3Printf(configString); +#endif }