mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +00:00
Merge pull request #615 from Areloch/Issue_437
Fixed the crash when using glow material on billboard groundcover
This commit is contained in:
commit
aca58356ee
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ RenderGlowMgr::GlowMaterialHook::GlowMaterialHook( BaseMatInstance *matInst )
|
|||
{
|
||||
mGlowMatInst = (MatInstance*)matInst->getMaterial()->createMatInstance();
|
||||
mGlowMatInst->getFeaturesDelegate().bind( &GlowMaterialHook::_overrideFeatures );
|
||||
mGlowMatInst->setUserObject(matInst->getUserObject());
|
||||
mGlowMatInst->init( matInst->getRequestedFeatures(),
|
||||
matInst->getVertexFormat() );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue