From 404c08b0c73f0edf974126f3d06e0dc807404f2e Mon Sep 17 00:00:00 2001 From: David Kelly Date: Tue, 1 Nov 2016 10:46:22 -0700 Subject: [PATCH] Un-do of previous commit Seems to add an artifact when using our test scripts. Will work on that as a separate issue, as it would be an existing issue in any case. --- assignment-client/src/Agent.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assignment-client/src/Agent.cpp b/assignment-client/src/Agent.cpp index 1da33f5bd7..0ec9b4a172 100644 --- a/assignment-client/src/Agent.cpp +++ b/assignment-client/src/Agent.cpp @@ -88,7 +88,10 @@ void Agent::playAvatarSound(SharedSoundPointer sound) { QMetaObject::invokeMethod(this, "playAvatarSound", Q_ARG(SharedSoundPointer, sound)); return; } else { - _numAvatarSoundSentBytes = 0; + // TODO: seems to add occasional artifact in tests. I believe it is + // correct to do this, but need to figure out for sure, so commenting this + // out until I verify. + // _numAvatarSoundSentBytes = 0; setAvatarSound(sound); } }