From e4c2004a69a64970085a22f03b1f5ba11affc7c0 Mon Sep 17 00:00:00 2001 From: Philip Rosedale Date: Fri, 26 Apr 2013 09:34:10 -0700 Subject: [PATCH] Added constant to turn OFF avatar BALLS testing --- interface/src/Avatar.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/src/Avatar.cpp b/interface/src/Avatar.cpp index 6de275e8d8..d5f778c70c 100644 --- a/interface/src/Avatar.cpp +++ b/interface/src/Avatar.cpp @@ -19,6 +19,8 @@ using namespace std; +const bool BALLS_ON = false; + float skinColor[] = {1.0, 0.84, 0.66}; float lightBlue[] = { 0.7, 0.8, 1.0 }; float browColor[] = {210.0/255.0, 105.0/255.0, 30.0/255.0}; @@ -130,7 +132,8 @@ Avatar::Avatar(bool isMine) { } } - _balls = new Balls(10); + if (BALLS_ON) { _balls = new Balls(100); } + else { _balls = NULL; } }