From 37c58859467343ef4a8a2aa62e0419a7ea34f4cf Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Thu, 26 May 2022 08:17:47 -0700 Subject: [PATCH] Fix missing assignment (cherry picked from commit 77cd56fbd30281c43d9a1380d9dc72579f0a1df9) --- 3d-viewer/3d_cache/3d_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d-viewer/3d_cache/3d_cache.cpp b/3d-viewer/3d_cache/3d_cache.cpp index 09301087c3..ddce2ffe23 100644 --- a/3d-viewer/3d_cache/3d_cache.cpp +++ b/3d-viewer/3d_cache/3d_cache.cpp @@ -200,7 +200,7 @@ S3D_CACHE::~S3D_CACHE() int clearCacheInterval = 0; if( Pgm().GetCommonSettings() ) - Pgm().GetCommonSettings()->m_System.clear_3d_cache_interval; + clearCacheInterval = Pgm().GetCommonSettings()->m_System.clear_3d_cache_interval; // An interval of zero means the user doesn't want to ever clear the cache