From 3c3fbf8446fc46c17bc9e7b37ba1da6a96176317 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 15 Nov 2003 20:11:36 +0000 Subject: [PATCH] temporarily disable use_error_threshold --- panda/src/mathutil/fftCompressor.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/mathutil/fftCompressor.cxx b/panda/src/mathutil/fftCompressor.cxx index 667d9254b0..536cf325ca 100644 --- a/panda/src/mathutil/fftCompressor.cxx +++ b/panda/src/mathutil/fftCompressor.cxx @@ -274,6 +274,9 @@ write_reals(Datagram &datagram, const float *array, int length) { // First, check the compressability. bool reject_compression = false; + // This logic needs a closer examination. Not sure it's useful + // as-is. + /* if (_use_error_threshold) { // Don't encode the data if it moves too erratically. float error = get_compressability(array, length); @@ -283,6 +286,7 @@ write_reals(Datagram &datagram, const float *array, int length) { reject_compression = true; } } + */ datagram.add_bool(reject_compression); if (reject_compression) {