From e47c7fd9c0210e53f127f0ca2fbe0bfa242eddae Mon Sep 17 00:00:00 2001 From: Michael Votaw Date: Wed, 19 Feb 2025 17:00:33 -0600 Subject: [PATCH] Enable calculating GrooveStats hash, and set the hash version appropriately. --- src/Steps.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Steps.cpp b/src/Steps.cpp index eb736db085..372751928e 100644 --- a/src/Steps.cpp +++ b/src/Steps.cpp @@ -307,7 +307,7 @@ void Steps::CalculateStepStats( float fMusicLengthSeconds ) this->CalculateRadarValues(fMusicLengthSeconds); this->CalculateTechCounts(); this->CalculateMeasureInfo(); -// this->CalculateGrooveStatsHash(); + this->CalculateGrooveStatsHash(false); } void Steps::CalculateRadarValues( float fMusicLengthSeconds ) @@ -821,6 +821,7 @@ void Steps::CalculateGrooveStatsHash(bool forceRecalculate) RString gsKey = BinaryToHex(CryptManager::GetSHA1ForString(smNoteData)); gsKey = gsKey.substr(0, 16); GrooveStatsHash = gsKey; + GrooveStatsHashVersion = CURRENT_GROOVE_STATS_HASH_VERSION; } RString Steps::MinimizedChartString()