mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
No need for server-only aps to generate visible textures. (the other had a transcription error)
This commit is contained in:
parent
2adbecb0d9
commit
6218d792f3
1 changed files with 2 additions and 0 deletions
|
|
@ -287,6 +287,8 @@ bool TerrainBlock::_setBaseTexFormat(void *obj, const char *index, const char *d
|
||||||
{
|
{
|
||||||
terrain->mBaseTexFormat = (BaseTexFormat)eTable[i].mInt;
|
terrain->mBaseTexFormat = (BaseTexFormat)eTable[i].mInt;
|
||||||
terrain->_updateMaterials();
|
terrain->_updateMaterials();
|
||||||
|
|
||||||
|
if (terrain->isServerObject()) return false;
|
||||||
terrain->_updateLayerTexture();
|
terrain->_updateLayerTexture();
|
||||||
// If the cached base texture is older that the terrain file or
|
// If the cached base texture is older that the terrain file or
|
||||||
// it doesn't exist then generate and cache it.
|
// it doesn't exist then generate and cache it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue