mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places.
This commit is contained in:
parent
83449bbc06
commit
491a7dcfdd
20 changed files with 70 additions and 69 deletions
|
|
@ -289,7 +289,7 @@ void TerrainCellMaterial::init( TerrainBlock *block,
|
|||
// The pass failed to be generated... give up.
|
||||
mPasses.last().materials.clear();
|
||||
mPasses.clear();
|
||||
for_each( materials.begin(), materials.end(), delete_pointer() );
|
||||
T3D::for_each( materials.begin(), materials.end(), T3D::delete_pointer() );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -298,7 +298,7 @@ void TerrainCellMaterial::init( TerrainBlock *block,
|
|||
}
|
||||
|
||||
// Cleanup any remaining matinfo.
|
||||
for_each( materials.begin(), materials.end(), delete_pointer() );
|
||||
T3D::for_each( materials.begin(), materials.end(), T3D::delete_pointer() );
|
||||
|
||||
// If we have attached mats then update them too.
|
||||
if ( mDeferredMat )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue