From 7b9018dbf030b228533df46d4a558c686dc00444 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 31 Mar 2020 04:53:01 -0400 Subject: [PATCH] CModelData: Initialize m_drawInstCount to zero Allows for deterministic initial state to make debugging nicer. --- Runtime/Character/CModelData.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Character/CModelData.hpp b/Runtime/Character/CModelData.hpp index ccf32e203..d11d8f36d 100644 --- a/Runtime/Character/CModelData.hpp +++ b/Runtime/Character/CModelData.hpp @@ -79,7 +79,7 @@ class CModelData { std::unique_ptr m_xrayModelInst; std::unique_ptr m_infraModelInst; - int m_drawInstCount; + int m_drawInstCount = 0; public: enum class EWhichModel { Normal, XRay, Thermal, ThermalHot };