mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
yell when warningmaterial is undefined
This commit is contained in:
parent
58b539653e
commit
e7403197c7
1 changed files with 2 additions and 0 deletions
|
|
@ -227,6 +227,8 @@ BaseMatInstance * MaterialManager::createWarningMatInstance()
|
|||
warnMatInstance->init( getDefaultFeatures(),
|
||||
getGFXVertexFormat<GFXVertexPNTTB>() );
|
||||
}
|
||||
else
|
||||
Con::errorf("WarningMaterial Not Found!");
|
||||
|
||||
return warnMatInstance;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue