From 0df6ca100bf40c7a5b89090cd2ce85ce0f9ba410 Mon Sep 17 00:00:00 2001 From: parax0 Date: Fri, 9 Oct 2015 21:36:16 -0600 Subject: [PATCH] Fixed a bug where model bounding boxes weren't being updated correctly in the model editor, so they would be improperly culled --- UI/CModelEditorWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/CModelEditorWindow.cpp b/UI/CModelEditorWindow.cpp index 98599532..ebf1bbb7 100644 --- a/UI/CModelEditorWindow.cpp +++ b/UI/CModelEditorWindow.cpp @@ -149,6 +149,7 @@ void CModelEditorWindow::RefreshViewport() void CModelEditorWindow::SetActiveModel(CModel *pModel) { mpCurrentModelNode->SetModel(pModel); + mpCurrentModelNode->MarkTransformChanged(); mpCurrentModel = pModel; mModelToken = CToken(pModel);