From ea7e4d2b2592ce5c9cde73eb6f121c2307d6a14d Mon Sep 17 00:00:00 2001 From: parax0 Date: Tue, 1 Sep 2015 19:18:24 -0400 Subject: [PATCH] Accidentally committed some experimental code... oops --- Scene/CScriptNode.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Scene/CScriptNode.cpp b/Scene/CScriptNode.cpp index e206fc42..36c3d29c 100644 --- a/Scene/CScriptNode.cpp +++ b/Scene/CScriptNode.cpp @@ -108,12 +108,6 @@ void CScriptNode::AddToRenderer(CRenderer *pRenderer) if (mHasVolumePreview) mpVolumePreviewNode->AddToRenderer(pRenderer); - - if (mpInstance->ObjectTypeID() == 0xC) - { - CGraphics::sMVPBlock.ViewMatrix = Transform().Inverse().ToMatrix4f(); - CGraphics::UpdateMVPBlock(); - } } }