mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
need to surpess billboard generation attempts on dedicated servers
This commit is contained in:
parent
8a71a6141f
commit
8343c096df
1 changed files with 3 additions and 2 deletions
|
|
@ -358,8 +358,9 @@ bool ShapeAsset::loadShape()
|
||||||
mLoadedState = BadFileReference;
|
mLoadedState = BadFileReference;
|
||||||
return false; //if it failed to load, bail out
|
return false; //if it failed to load, bail out
|
||||||
}
|
}
|
||||||
|
// Construct billboards if not done already
|
||||||
mShape->setupBillboardDetails(mFilePath, mDiffuseImposterPath, mNormalImposterPath);
|
if (GFXDevice::devicePresent())
|
||||||
|
mShape->setupBillboardDetails(mFilePath, mDiffuseImposterPath, mNormalImposterPath);
|
||||||
|
|
||||||
//If they exist, grab our imposters here and bind them to our shapeAsset
|
//If they exist, grab our imposters here and bind them to our shapeAsset
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue