diff --git a/qrenderdoc/Code/Interface/Analytics.cpp b/qrenderdoc/Code/Interface/Analytics.cpp index a4528d999..664810df1 100644 --- a/qrenderdoc/Code/Interface/Analytics.cpp +++ b/qrenderdoc/Code/Interface/Analytics.cpp @@ -157,7 +157,7 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type) if(!Analytics::db) return; - static_assert(sizeof(Analytics) == 140, "Sizeof Analytics has changed - update serialisation."); + static_assert(sizeof(Analytics) == 147, "Sizeof Analytics has changed - update serialisation."); // Date { @@ -177,9 +177,6 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type) ANALYTIC_SERIALISE(Environment.OfficialBuildRun); } - // A flag for each dat counting which unique days in the last month the program was run. - ANALYTIC_SERIALISE(Version); - // special handling for reporting DaysUsed, to flatten into a number if(reporting) { @@ -204,7 +201,6 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type) ANALYTIC_SERIALISE(UIFeatures.ShaderEditing); ANALYTIC_SERIALISE(UIFeatures.CallstackResolve); ANALYTIC_SERIALISE(UIFeatures.PixelHistory); - ANALYTIC_SERIALISE(UIFeatures.DrawcallTimes); ANALYTIC_SERIALISE(UIFeatures.PerformanceCounters); ANALYTIC_SERIALISE(UIFeatures.PythonInterop); @@ -217,6 +213,7 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type) ANALYTIC_SERIALISE(UIFeatures.Export.EventBrowser); ANALYTIC_SERIALISE(UIFeatures.Export.PipelineState); ANALYTIC_SERIALISE(UIFeatures.Export.MeshOutput); + ANALYTIC_SERIALISE(UIFeatures.Export.RawBuffer); ANALYTIC_SERIALISE(UIFeatures.Export.TextureSave); ANALYTIC_SERIALISE(UIFeatures.Export.ShaderSave); } diff --git a/qrenderdoc/Code/Interface/Analytics.h b/qrenderdoc/Code/Interface/Analytics.h index 8bb63e1c2..41b79e463 100644 --- a/qrenderdoc/Code/Interface/Analytics.h +++ b/qrenderdoc/Code/Interface/Analytics.h @@ -53,7 +53,7 @@ #define RENDERDOC_ANALYTICS_ENABLE 0 // we don't want any of this to be accessible to script, only code. -#if !defined(SWIG) +#if !defined(SWIG) && !defined(SWIG_GENERATED) // We also compile out all of the code if analytics are disabled so there's not even a code // reference to where the data is collected.