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:
parent
421e718d07
commit
0df6ca100b
|
@ -149,6 +149,7 @@ void CModelEditorWindow::RefreshViewport()
|
||||||
void CModelEditorWindow::SetActiveModel(CModel *pModel)
|
void CModelEditorWindow::SetActiveModel(CModel *pModel)
|
||||||
{
|
{
|
||||||
mpCurrentModelNode->SetModel(pModel);
|
mpCurrentModelNode->SetModel(pModel);
|
||||||
|
mpCurrentModelNode->MarkTransformChanged();
|
||||||
mpCurrentModel = pModel;
|
mpCurrentModel = pModel;
|
||||||
mModelToken = CToken(pModel);
|
mModelToken = CToken(pModel);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue