mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Merge pull request #563 from Bloodknight/Minor_Module_Fixes
replace new with singleton to fix cannot re-declare object log file …
This commit is contained in:
commit
ad5d0b6d1b
4 changed files with 9 additions and 9 deletions
|
|
@ -11,7 +11,7 @@ singleton Material(TerrainFX_@)
|
|||
impactSoundId = "0";
|
||||
};
|
||||
|
||||
new TerrainMaterial(@)
|
||||
singleton TerrainMaterial(@)
|
||||
{
|
||||
internalName = "@";
|
||||
diffuseMap = "";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ singleton shaderData( AL_ShadowVisualizeShader )
|
|||
pixVersion = 2.0;
|
||||
};
|
||||
|
||||
new CustomMaterial( AL_ShadowVisualizeMaterial )
|
||||
singleton CustomMaterial( AL_ShadowVisualizeMaterial )
|
||||
{
|
||||
shader = AL_ShadowVisualizeShader;
|
||||
stateBlock = AL_DepthVisualizeState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue