mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 10:49:23 +00:00
Set up CBasicViewport to draw an XYZ axis overlay in the corner
This commit is contained in:
@@ -168,6 +168,9 @@ void CScriptNode::DrawSelection()
|
||||
|
||||
if (mpInstance)
|
||||
{
|
||||
CGraphics::sMVPBlock.ModelMatrix = CMatrix4f::skIdentity;
|
||||
CGraphics::UpdateMVPBlock();
|
||||
|
||||
for (u32 iIn = 0; iIn < mpInstance->NumInLinks(); iIn++)
|
||||
{
|
||||
const SLink& con = mpInstance->InLink(iIn);
|
||||
|
||||
Reference in New Issue
Block a user