Bugfix - set blend mode before drawing script node bounding box

This commit is contained in:
parax0 2015-07-27 00:22:08 -04:00
parent e5048ca8d2
commit 8804c436ed
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ void CScriptNode::DrawAsset(ERenderOptions Options, u32 Asset)
void CScriptNode::DrawSelection() void CScriptNode::DrawSelection()
{ {
glBlendFunc(GL_ONE, GL_ZERO);
CDrawUtil::DrawWireCube(AABox(), CColor::skTransparentWhite); CDrawUtil::DrawWireCube(AABox(), CColor::skTransparentWhite);
if (mpInstance) if (mpInstance)