Correct fix to the TranslateToSG empty matindex case

This commit is contained in:
Marek Roszko 2021-02-02 00:25:35 -05:00
parent 7688fdc94f
commit 404eb535be
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ SGNODE* WRL1FACESET::TranslateToSG( SGNODE* aParent, WRL1STATUS* sp )
if( matIndex.empty() )
{
pc1 = SGCOLOR( 1.0f, 0.41f, 0.705f ); //pink to indicate no material
m_current.mat->GetColor( &pc1, idx );
}
else
{