mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Merge pull request #156 from DavidWyand-GG/issue155-BillboardCreation
Fix for Issue #155 for Billboard Creation
This commit is contained in:
commit
70b95d6d49
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ void TSShapeInstance::buildInstanceData(TSShape * _shape, bool loadMaterials)
|
|||
animateSubtrees();
|
||||
|
||||
// Construct billboards if not done already
|
||||
if ( loadMaterials && mShapeResource )
|
||||
if ( loadMaterials && mShapeResource && GFXDevice::devicePresent() )
|
||||
mShape->setupBillboardDetails( mShapeResource.getPath().getFullPath() );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue