Fixed a bug where model bounding boxes weren't being updated correctly in the model editor, so they would be improperly culled

This commit is contained in:
parax0 2015-10-09 21:36:16 -06:00
parent 421e718d07
commit 0df6ca100b
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ void CModelEditorWindow::RefreshViewport()
void CModelEditorWindow::SetActiveModel(CModel *pModel)
{
mpCurrentModelNode->SetModel(pModel);
mpCurrentModelNode->MarkTransformChanged();
mpCurrentModel = pModel;
mModelToken = CToken(pModel);