From 9fe520c56a46b102d014339464fcc09da106cca3 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sat, 7 Dec 2019 08:31:56 -0800 Subject: [PATCH] Fixed selection not being drawn. --- common/lc_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lc_scene.cpp b/common/lc_scene.cpp index 182a1540..6531f6e8 100644 --- a/common/lc_scene.cpp +++ b/common/lc_scene.cpp @@ -11,6 +11,7 @@ lcScene::lcScene() : mRenderMeshes(0, 1024), mOpaqueMeshes(0, 1024), mTranslucentMeshes(0, 1024), mInterfaceObjects(0, 1024) { mActiveSubmodelInstance = nullptr; + mDrawInterface = false; mAllowWireframe = true; mAllowLOD = true; mPreTranslucentCallback = nullptr; @@ -20,7 +21,6 @@ void lcScene::Begin(const lcMatrix44& ViewMatrix) { mViewMatrix = ViewMatrix; mActiveSubmodelInstance = nullptr; - mDrawInterface = false; mPreTranslucentCallback = nullptr; mRenderMeshes.RemoveAll(); mOpaqueMeshes.RemoveAll();