mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 10:03:48 +00:00
Merge branch 'consolefuncrefactor' of https://github.com/jamesu/Torque3D into consolefuncrefactor
This commit is contained in:
commit
59aaaf1892
93 changed files with 1947 additions and 728 deletions
|
|
@ -465,7 +465,7 @@ ConsoleFunction( addMaterialMapping, void, 3, 3, "(string texName, string matNam
|
|||
"block or interior surface using the associated texture.\n\n"
|
||||
"@ingroup Materials")
|
||||
{
|
||||
MATMGR->mapMaterial(argv[1],argv[2]);
|
||||
MATMGR->mapMaterial(argv[1], argv[2]);
|
||||
}
|
||||
|
||||
ConsoleFunction( getMaterialMapping, const char*, 2, 2, "(string texName)\n"
|
||||
|
|
@ -487,5 +487,5 @@ ConsoleFunction( dumpMaterialInstances, void, 1, 1,
|
|||
ConsoleFunction( getMapEntry, const char *, 2, 2,
|
||||
"@hide")
|
||||
{
|
||||
return MATMGR->getMapEntry( String(argv[1]) );
|
||||
}
|
||||
return MATMGR->getMapEntry( argv[1] );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue