Bugfix - set blend mode before drawing script node bounding box
This commit is contained in:
parent
e5048ca8d2
commit
8804c436ed
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue