From 77cd56fbd30281c43d9a1380d9dc72579f0a1df9 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Thu, 26 May 2022 08:17:47 -0700 Subject: [PATCH] Fix missing assignment --- 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 25f9bc164b..5f99262eb7 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