Accidentally committed some experimental code... oops
This commit is contained in:
parent
dbf002d12a
commit
ea7e4d2b25
|
@ -108,12 +108,6 @@ void CScriptNode::AddToRenderer(CRenderer *pRenderer)
|
||||||
|
|
||||||
if (mHasVolumePreview)
|
if (mHasVolumePreview)
|
||||||
mpVolumePreviewNode->AddToRenderer(pRenderer);
|
mpVolumePreviewNode->AddToRenderer(pRenderer);
|
||||||
|
|
||||||
if (mpInstance->ObjectTypeID() == 0xC)
|
|
||||||
{
|
|
||||||
CGraphics::sMVPBlock.ViewMatrix = Transform().Inverse().ToMatrix4f();
|
|
||||||
CGraphics::UpdateMVPBlock();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue